2008-09-17 10:28:40 +02:00
|
|
|
# Description: Free library for arbitrary precision arithmetic
|
|
|
|
# URL: http://gmplib.org/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
|
|
|
|
name=libgmp
|
2013-05-22 17:18:37 +02:00
|
|
|
version=5.1.2
|
2009-05-11 15:43:02 +02:00
|
|
|
release=1
|
2012-12-20 12:22:16 +01:00
|
|
|
source=(ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.xz)
|
2008-09-17 10:28:40 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd gmp-$version
|
2012-11-22 19:38:39 +01:00
|
|
|
./configure --prefix=/usr \
|
2013-02-12 18:24:00 +01:00
|
|
|
--enable-cxx \
|
|
|
|
--build=x86_64-unknown-linux-gnu
|
2008-09-17 10:28:40 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2010-01-09 15:44:19 +01:00
|
|
|
rm -r $PKG/usr/share
|
2008-09-17 10:28:40 +02:00
|
|
|
}
|