diff options
author | Lukc <lukc@upyum.com> | 2010-12-12 05:37:23 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-12 05:37:23 +0100 |
commit | f917d524c821cc729c3341cca58d890cdda66155 (patch) | |
tree | f103bfb7487c3422464ef7817545a999d0025cce /libgmp/Pkgfile | |
parent | 3e6f582a1b1f0ae445f3abf935c6c005569e96ee (diff) | |
download | devel-f917d524c821cc729c3341cca58d890cdda66155.tar.gz devel-f917d524c821cc729c3341cca58d890cdda66155.tar.bz2 devel-f917d524c821cc729c3341cca58d890cdda66155.tar.xz devel-f917d524c821cc729c3341cca58d890cdda66155.zip |
Recette de libgmp ajoutée.
Diffstat (limited to 'libgmp/Pkgfile')
-rw-r--r-- | libgmp/Pkgfile | 18 |
1 files changed, 18 insertions, 0 deletions
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 <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" +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; +} |