summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libgmp/.footprint21
-rw-r--r--libgmp/.md5sum1
-rw-r--r--libgmp/.sha256sum1
-rw-r--r--libgmp/Pkgfile18
-rw-r--r--libgmp/Pkgfile.old18
5 files changed, 59 insertions, 0 deletions
diff --git a/libgmp/.footprint b/libgmp/.footprint
new file mode 100644
index 0000000..7a3bd56
--- /dev/null
+++ b/libgmp/.footprint
@@ -0,0 +1,21 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/gmp.h
+-rw-r--r-- root/root usr/include/gmpxx.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libgmp.a
+-rwxr-xr-x root/root usr/lib/libgmp.la
+lrwxrwxrwx root/root usr/lib/libgmp.so -> libgmp.so.10.0.1
+lrwxrwxrwx root/root usr/lib/libgmp.so.10 -> libgmp.so.10.0.1
+-rwxr-xr-x root/root usr/lib/libgmp.so.10.0.1
+-rw-r--r-- root/root usr/lib/libgmpxx.a
+-rwxr-xr-x root/root usr/lib/libgmpxx.la
+lrwxrwxrwx root/root usr/lib/libgmpxx.so -> libgmpxx.so.4.2.1
+lrwxrwxrwx root/root usr/lib/libgmpxx.so.4 -> libgmpxx.so.4.2.1
+-rwxr-xr-x root/root usr/lib/libgmpxx.so.4.2.1
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/dir
+-rw-r--r-- root/root usr/share/info/gmp.info
+-rw-r--r-- root/root usr/share/info/gmp.info-1
+-rw-r--r-- root/root usr/share/info/gmp.info-2
diff --git a/libgmp/.md5sum b/libgmp/.md5sum
new file mode 100644
index 0000000..de0e856
--- /dev/null
+++ b/libgmp/.md5sum
@@ -0,0 +1 @@
+6bac6df75c192a13419dfd71d19240a7 gmp-5.0.1.tar.bz2
diff --git a/libgmp/.sha256sum b/libgmp/.sha256sum
new file mode 100644
index 0000000..0c4d93e
--- /dev/null
+++ b/libgmp/.sha256sum
@@ -0,0 +1 @@
+a2a610f01fd3298dc08c87bf30498c2402590e1bcb227fc40b15ee6d280939fb gmp-5.0.1.tar.bz2
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;
+}
diff --git a/libgmp/Pkgfile.old b/libgmp/Pkgfile.old
new file mode 100644
index 0000000..0a7a46d
--- /dev/null
+++ b/libgmp/Pkgfile.old
@@ -0,0 +1,18 @@
+# Description: Free library for arbitrary precision arithmetic
+# URL: http://gmplib.org/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+
+name=libgmp
+version=5.0.1
+release=1
+source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2)
+
+build() {
+ cd gmp-$version
+ ABI=32 ./configure --prefix=/usr \
+ --enable-cxx \
+ --build=i686-pc-linux-gnu
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/share
+}