CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libgmp: update to 5.0.1
[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=5.0.1
9 release=1
10 source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2)
11
12 build() {
13 cd gmp-$version
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr \
17 --enable-cxx
18
19 make
20 make DESTDIR=$PKG install
21 rm -r $PKG/usr/share
22 }