mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
gmp: recipe for version 5.1.3
This commit is contained in:
76
dev-libs/gmp/gmp-5.1.3.recipe
Normal file
76
dev-libs/gmp/gmp-5.1.3.recipe
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
SUMMARY="GMP - GNU Multiple Precision Arithmetic Library"
|
||||||
|
DESCRIPTION="
|
||||||
|
The GNU Multiple Precision Arithmetic Library (GMP) is a free library for \
|
||||||
|
arbitrary-precision arithmetic, operating on signed integers, rational numbers, \
|
||||||
|
and floating point numbers. There are no practical limits to the precision \
|
||||||
|
except the ones implied by the available memory in the machine GMP runs on \
|
||||||
|
(operand dimension limit is 2^(32)-1 bits on 32-bit machines and 2^37 bits on \
|
||||||
|
64-bit machines). GMP has a rich set of functions, and the functions have a \
|
||||||
|
regular interface. The basic interface is for C but wrappers exist for other \
|
||||||
|
languages including Ada, C++, C#, OCaml, Perl, PHP, and Python.
|
||||||
|
"
|
||||||
|
HOMEPAGE="http://gmplib.org/"
|
||||||
|
SRC_URI="http://ftp.gnu.org/gnu/gmp/gmp-5.1.3.tar.xz"
|
||||||
|
CHECKSUM_SIZE="1818812"
|
||||||
|
CHECKSUM_MD5="e5fe367801ff067b923d1e6a126448aa"
|
||||||
|
CHECKSUM_RMD160="09f274b178b5ef120eed8df36f44997df30090ba"
|
||||||
|
CHECKSUM_SHA512="44bbec2b2a6480d4c9a9a633cca4fe0de966c13bc08bdcd8b934d81e21f3dfacaecf273f149dc613d365277d280ecee43cffdafaec1bd1239a7ed903f8658b5b"
|
||||||
|
LICENSE="GNU GPL v3
|
||||||
|
GNU LGPL v3"
|
||||||
|
COPYRIGHT="1991-2013 Free Software Foundation, Inc."
|
||||||
|
REVISION="1"
|
||||||
|
ARCHITECTURES="x86 x86_gcc2"
|
||||||
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||||
|
PROVIDES="gmp$secondaryArchSuffix = $portVersion compat >= 5.1
|
||||||
|
lib:libgmp$secondaryArchSuffix = 10.1.3 compat >= 10
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix >= $haikuVersion
|
||||||
|
"
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
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 includedir=$includeDir includeexecdir=$includeDir
|
||||||
|
|
||||||
|
# prepare devel/lib
|
||||||
|
prepareInstalledDevelLibs libgmp
|
||||||
|
|
||||||
|
# devel package
|
||||||
|
packageEntries devel \
|
||||||
|
$developDir
|
||||||
|
}
|
||||||
|
|
||||||
|
TEST()
|
||||||
|
{
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
# ----- devel package
|
||||||
|
|
||||||
|
PROVIDES_devel="
|
||||||
|
gmp${secondaryArchSuffix}_devel = $portVersion
|
||||||
|
devel:libgmp$secondaryArchSuffix = 10.1.3 compat >= 0
|
||||||
|
"
|
||||||
|
REQUIRES_devel="
|
||||||
|
gmp$secondaryArchSuffix == $portVersion base
|
||||||
|
"
|
||||||
Reference in New Issue
Block a user