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=refs%2Fheads%2F2.6;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 +}