Files
haikuports/dev-lang/orc/orc-0.4.27.recipe
Jerome Duval 8d2607780f orc: bump version.
* remove libtool files.
2017-07-18 17:16:04 +02:00

81 lines
2.0 KiB
Bash

SUMMARY="The Oil Runtime Compiler"
DESCRIPTION="
Orc is a library and set of tools for compiling and executing \
very simple programs that operate on arrays of data. The \"language\" \
is a generic assembly language that represents many of the features \
available in SIMD architectures, including saturated addition and \
subtraction, and many arithmetic operations.
"
HOMEPAGE="https://gstreamer.freedesktop.org/projects/orc.html"
COPYRIGHT="
2002-2016 David A. Schleef
"
LICENSE="BSD (2-clause)"
SOURCE_URI="https://gstreamer.freedesktop.org/src/orc/orc-$portVersion.tar.xz"
CHECKSUM_SHA256="51e53e58fc8158e5986a1f1a49a6d970c5b16493841cf7b9de2c2bde7ce36b93"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PATCHES="orc-$portVersion.patchset"
PROVIDES="
orc$secondaryArchSuffix = $portVersion compat >= 0
lib:liborc_0.4$secondaryArchSuffix = 0.27.0 compat >= 0
lib:liborc_test_0.4$secondaryArchSuffix = 0.27.0 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
orc${secondaryArchSuffix}_devel = $portVersion compat >= 0.4
cmd:orc_bugreport$secondaryArchSuffix = 0.27.0 compat >= 0
cmd:orcc$secondaryArchSuffix = 0.27.0 compat >= 0
devel:liborc_0.4$secondaryArchSuffix = 0.27.0 compat >= 0
devel:liborc_test_0.4$secondaryArchSuffix = 0.27.0 compat >= 0
"
REQUIRES_devel="
orc$secondaryArchSuffix == $portVersion base
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
"
BUILD()
{
autoreconf -f -i -I m4
runConfigure ./configure --disable-gtk-doc
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/liborc*.la
prepareInstalledDevelLibs liborc-0.4 \
liborc-test-0.4
fixPkgconfig
# fix include path in pkgconfig
sed -i -e 's#^includedir=\(.*\)#includedir=\1/orc-0.4#g' \
$developLibDir/pkgconfig/orc-0.4.pc
# devel package
packageEntries devel \
$binDir \
$developDir
}