mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
gmp: bump version.
* gcc2 not supported anymore.
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
DESCRIPTION="GMP - GNU Multiple Precision Arithmetic Library"
|
||||
HOMEPAGE="http://gmplib.org/"
|
||||
SOURCE_URI="ftp://ftp.gmplib.org/pub/gmp-4.3.2/gmp-4.3.2.tar.bz2"
|
||||
CHECKSUM_MD5="dd60683d7057917e34630b4a787932e8"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd gmp-4.3.2
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake --add-missing
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd gmp-4.3.2
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd gmp-4.3.2
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v3
|
||||
GNU LGPL v3"
|
||||
COPYRIGHT="1991-2009 Free Software Foundation, Inc."
|
||||
73
dev-libs/gmp/gmp-6.1.0.recipe
Normal file
73
dev-libs/gmp/gmp-6.1.0.recipe
Normal file
@@ -0,0 +1,73 @@
|
||||
SUMMARY="The 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/"
|
||||
COPYRIGHT="1991-2014 Free Software Foundation, Inc."
|
||||
LICENSE="GNU GPL v3
|
||||
GNU LGPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://gmplib.org/download/gmp/gmp-6.1.0.tar.xz"
|
||||
CHECKSUM_SHA256="68dadacce515b0f8a54f510edf07c1b636492bcdb8e8d54c56eb216225d16989"
|
||||
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
gmp$secondaryArchSuffix = $portVersion compat >= 6.0
|
||||
lib:libgmp$secondaryArchSuffix = 10.2.0 compat >= 10
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
gmp${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libgmp$secondaryArchSuffix = 10.2.0 compat >= 10
|
||||
"
|
||||
REQUIRES_devel="
|
||||
gmp$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtool
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
touch doc/*.info*
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install includedir=$includeDir includeexecdir=$includeDir
|
||||
|
||||
# prepare devel/lib
|
||||
prepareInstalledDevelLibs libgmp
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make $jobArgs check
|
||||
}
|
||||
Reference in New Issue
Block a user