mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
gmp: fix requires, move headers to /devlop/headers. readline: fix
requires.
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
SUMMARY="GMP - GNU Multiple Precision Arithmetic Library"
|
||||
DESCRIPTION="
|
||||
GMP - GNU Multiple Precision Arithmetic Library
|
||||
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="ftp://ftp.gmplib.org/pub/gmp-5.1.1/gmp-5.1.1.tar.xz"
|
||||
@@ -18,12 +25,14 @@ PROVIDES="cmd:gmp$secondaryArchSuffix = $portVersion compat >= 5.1
|
||||
REQUIRES="haiku$secondaryArchSuffix >= $haikuVersion"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtool
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:make
|
||||
"
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
@@ -37,7 +46,7 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
make install includedir=$includeDir includeexecdir=$includeDir
|
||||
|
||||
# prepare devel/lib
|
||||
prepareInstalledDevelLibs libgmp
|
||||
|
||||
@@ -31,10 +31,10 @@ REQUIRES="
|
||||
lib:libncurses$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libncurses$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
|
||||
Reference in New Issue
Block a user