CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libgmp: updated to 4.3.2
[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, crux-arm at mikeux dot dyndns dot org
5 # Depends on:
6
7 name=libgmp
8 version=4.3.2
9 release=1
10 source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2)
11
12 build() {
13 cd gmp-$version
14
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --enable-cxx
19
20 make
21 make DESTDIR=$PKG install
22 rm -r $PKG/usr/share
23 }