From: Jose V Beneyto Date: Fri, 4 Jun 2010 09:41:09 +0000 (+0200) Subject: libgmp: added Pkgfile fixed for native compilation X-Git-Url: http://gitweb/?a=commitdiff_plain;h=dbf2e6056851c8a1820cc2c1a880369bf181e10d;p=ports%2Fcore-arm.git libgmp: added Pkgfile fixed for native compilation --- diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile new file mode 100644 index 0000000..7d91fcc --- /dev/null +++ b/libgmp/Pkgfile @@ -0,0 +1,19 @@ +# Description: Free library for arbitrary precision arithmetic +# URL: http://gmplib.org/ +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu + +name=libgmp +version=4.3.2 +release=1 +source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2) + +build() { + cd gmp-$version + ./configure --prefix=/usr \ + --enable-cxx \ + --build=$MACHTYPE + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share +}