summaryrefslogtreecommitdiffstats
path: root/libgmp/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'libgmp/Pkgfile')
-rw-r--r--libgmp/Pkgfile18
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;
+}