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
1 # Description: Free library for arbitrary precision arithmetic
2 # URL: http://gmplib.org/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on:
6
7 name=libgmp
8 version=6.0.0a
9 release=1
10 source=(ftp://ftp.gmplib.org/pub/gmp-${version%a}/gmp-$version.tar.xz \
11 gmp.h)
12
13 build() {
14 cd gmp-${version%a}
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --enable-cxx
19 make
20 make DESTDIR=$PKG install
21 mv $PKG/usr/include/gmp{,-32}.h
22 install -m 0644 $SRC/gmp.h $PKG/usr/include/
23 rm -r $PKG/usr/share
24 }