CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
afa6f061b187c030f22e69741b5b04420192e438
[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@crux-arm.nu
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 }