CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[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
9448bfc0 8version=6.0.0a
84729e93 9release=1
9448bfc0
VM
10source=(ftp://ftp.gmplib.org/pub/gmp-${version%a}/gmp-$version.tar.xz \
11 gmp.h)
6dca1d21
JB
12
13build() {
9448bfc0 14 cd gmp-${version%a}
31039fa2
JB
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --enable-cxx
31039fa2
JB
19 make
20 make DESTDIR=$PKG install
9448bfc0
VM
21 mv $PKG/usr/include/gmp{,-32}.h
22 install -m 0644 $SRC/gmp.h $PKG/usr/include/
31039fa2 23 rm -r $PKG/usr/share
6dca1d21 24}