mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
SUMMARY="GMP - GNU Multiple Precision Arithmetic Library"
|
|
DESCRIPTION="
|
|
GMP - GNU Multiple Precision Arithmetic Library
|
|
"
|
|
HOMEPAGE="http://gmplib.org/"
|
|
SRC_URI="ftp://ftp.gmplib.org/pub/gmp-5.1.1/gmp-5.1.1.tar.xz"
|
|
CHECKSUM_MD5="485b1296e6287fa381e6015b19767989"
|
|
LICENSE="GNU GPL v3
|
|
GNU LGPL v3"
|
|
COPYRIGHT="1991-2013 Free Software Foundation, Inc."
|
|
REVISION="1"
|
|
ARCHITECTURES="x86 x86_gcc2"
|
|
PROVIDES="cmd:gmp = $portVersion compat >= 5.1
|
|
lib:libgmp
|
|
lib:libgmp = 10
|
|
lib:libgmp = 10.1.1"
|
|
REQUIRES="haiku >= $haikuVersion"
|
|
BUILD_REQUIRES="
|
|
haiku_devel >= $haikuVersion
|
|
cmd:gcc
|
|
cmd:libtool
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
automake --add-missing
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# prepare devel/lib
|
|
prepareInstalledDevelLibs libgmp
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|
|
|
|
# ----- devel package
|
|
|
|
PROVIDES_devel="
|
|
libgmp = $portVersion
|
|
devel:libgmp = 10.1.1 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libgmp == $portVersion base
|
|
"
|
|
|