Files
haikuports/dev-libs/isl/isl-0.14.recipe
Augustin Cavalier 55dd9cf19d Rewrite ARCHITECTURES syntax to new HaikuPorter changes.
HaikuPorter now does not care what is in ARCHITECTURES when
building for a SECONDARY_ARCHITECTURE.
2015-08-04 12:00:38 -04:00

75 lines
1.7 KiB
Bash

SUMMARY="Library for manipulating integer points bounded by affine constraints"
DESCRIPTION="isl is a thread-safe C library for manipulating sets and \
relations of integer points bounded by affine constraints. The descriptions \
of the sets and relations may involve both parameters and existentially \
quantified variables. All computations are performed in exact integer \
arithmetic using GMP."
HOMEPAGE="http://isl.gforge.inria.fr"
SOURCE_URI="http://isl.gforge.inria.fr/isl-$portVersion.tar.bz2"
CHECKSUM_SHA256="7e3c02ff52f8540f6a85534f54158968417fd676001651c8289c705bd0228f36"
COPYRIGHT="
2011 Sven Verdoolaege
2008-2009 Katholieke Universiteit Leuven
2010-2011 INRIA Saclay
2012-2014 Ecole Normale Superieure
2006-2007, 2012 Universiteit Leiden
"
LICENSE="MIT"
REVISION="1"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
isl$secondaryArchSuffix = $portVersion compat >= 0.12
lib:libisl$secondaryArchSuffix = 13.1.0 compat >= 13
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libgmp$secondaryArchSuffix >= 10.1.3
"
PROVIDES_devel="
isl${secondaryArchSuffix}_devel = $portVersion compat >= 0.12
devel:libisl$secondaryArchSuffix = 13.1.0 compat >= 13
"
REQUIRES_devel="
isl$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libgmp$secondaryArchSuffix >= 10.1.3
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
autoreconf -fi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libisl
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}
TEST()
{
make check
}