From f917d524c821cc729c3341cca58d890cdda66155 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 05:37:23 +0100 Subject: Recette de libgmp ajoutée. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libgmp/Pkgfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libgmp/Pkgfile (limited to 'libgmp/Pkgfile') diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile new file mode 100644 index 0000000..c916471 --- /dev/null +++ b/libgmp/Pkgfile @@ -0,0 +1,18 @@ +description="Free library for arbitrary precision arithmetic." +packager="CRUX System Team " +maintainer="Lukc " +url="http://gmplib.org/" +depends=() + +name=libgmp +version=5.0.1 +release=1 +source=(ftp://ftp.gnu.org/gnu/${name/lib}/${name/lib}-$version.tar.bz2) +build () +{ + cd gmp-$version; + # FIXME: This is not portable, and will cause problems. + ABI=32 ./configure --prefix=$prefix --mandir=$mandir --enable-cxx --build=i686-pc-linux-gnu; + make; + make DESTDIR=$PKG install; +} -- cgit v1.2.3-70-g09d2