CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Merged changes from noeabi (72cbd18e791bd2edff0e8d23873136187f0cd936)
[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
83e7e2d0 4# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
6dca1d21
JB
5# Depends on:
6
7name=libgmp
31039fa2 8version=4.3.2
84729e93 9release=1
6dca1d21
JB
10source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2)
11
12build() {
31039fa2
JB
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
6dca1d21 23}