From dbf2e6056851c8a1820cc2c1a880369bf181e10d Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Fri, 4 Jun 2010 11:41:09 +0200 Subject: [PATCH] libgmp: added Pkgfile fixed for native compilation --- libgmp/Pkgfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libgmp/Pkgfile 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 +} -- 2.26.2