summaryrefslogtreecommitdiffstats
path: root/base/gmp
diff options
context:
space:
mode:
Diffstat (limited to 'base/gmp')
-rw-r--r--base/gmp/.footprint26
-rw-r--r--base/gmp/.md5sum1
-rwxr-xr-xbase/gmp/Pkgfile32
3 files changed, 59 insertions, 0 deletions
diff --git a/base/gmp/.footprint b/base/gmp/.footprint
new file mode 100644
index 000000000..12f7c5266
--- /dev/null
+++ b/base/gmp/.footprint
@@ -0,0 +1,26 @@
+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
+-rw-r--r-- root/root usr/include/mp.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.3.5.0
+lrwxrwxrwx root/root usr/lib/libgmp.so.3 -> libgmp.so.3.5.0
+-rwxr-xr-x root/root usr/lib/libgmp.so.3.5.0
+-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.1.0
+lrwxrwxrwx root/root usr/lib/libgmpxx.so.4 -> libgmpxx.so.4.1.0
+-rwxr-xr-x root/root usr/lib/libgmpxx.so.4.1.0
+-rw-r--r-- root/root usr/lib/libmp.a
+-rwxr-xr-x root/root usr/lib/libmp.la
+lrwxrwxrwx root/root usr/lib/libmp.so -> libmp.so.3.1.14
+lrwxrwxrwx root/root usr/lib/libmp.so.3 -> libmp.so.3.1.14
+-rwxr-xr-x root/root usr/lib/libmp.so.3.1.14
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/gmp.info-1.gz
+-rw-r--r-- root/root usr/share/info/gmp.info-2.gz
+-rw-r--r-- root/root usr/share/info/gmp.info.gz
diff --git a/base/gmp/.md5sum b/base/gmp/.md5sum
new file mode 100644
index 000000000..168ada616
--- /dev/null
+++ b/base/gmp/.md5sum
@@ -0,0 +1 @@
+26cec15a90885042dd4a15c4003b08ae gmp-4.3.1.tar.bz2
diff --git a/base/gmp/Pkgfile b/base/gmp/Pkgfile
new file mode 100755
index 000000000..6f4380d3d
--- /dev/null
+++ b/base/gmp/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Contient des librairies mathématiques
+# URL: ftp://ftp.gnu.org/gnu/gmp/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: binutils
+
+name=gmp
+version=4.3.1
+release=1
+source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+build()
+{
+cd $name-$version
+case `uname -m` in
+ i?86)
+ ABI=32 ./configure --prefix=/usr \
+ --enable-cxx \
+ --enable-mpbsd \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info;;
+ *)
+ ./configure --prefix=/usr \
+ --enable-cxx \
+ --enable-mpbsd \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info;;
+esac
+
+make
+make DESTDIR=$PKG install
+rm $PKG/usr/share/info/dir
+}