CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
findutils: adapted to 64b
[crossrootfs.git] / libgmp / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: Free library for arbitrary precision arithmetic
2# URL: http://gmplib.org/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5# Depends on:
6
7name=libgmp
4aadf009 8version=6.1.0
84729e93 9release=1
4aadf009 10source=(ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.xz \
9448bfc0 11 gmp.h)
6dca1d21
JB
12
13build() {
4aadf009 14 cd gmp-$version
31039fa2
JB
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --enable-cxx
31039fa2
JB
19 make
20 make DESTDIR=$PKG install
4aadf009 21 mv $PKG/usr/include/gmp{,-64}.h
9448bfc0 22 install -m 0644 $SRC/gmp.h $PKG/usr/include/
31039fa2 23 rm -r $PKG/usr/share
6dca1d21 24}