CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libgmp: added Pkgfile fixed for native compilation 2.6
authorJose V Beneyto <sepen@crux.nu>
Fri, 4 Jun 2010 09:41:09 +0000 (11:41 +0200)
committerJose V Beneyto <sepen@crux.nu>
Fri, 4 Jun 2010 09:41:09 +0000 (11:41 +0200)
libgmp/Pkgfile [new file with mode: 0644]

diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile
new file mode 100644 (file)
index 0000000..7d91fcc
--- /dev/null
@@ -0,0 +1,19 @@
+# Description: Free library for arbitrary precision arithmetic
+# URL:         http://gmplib.org/
+# Maintainer:  CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+
+name=libgmp
+version=4.3.2
+release=1
+source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2)
+
+build() {
+    cd gmp-$version
+    ./configure --prefix=/usr \
+                       --enable-cxx \
+                       --build=$MACHTYPE
+    make
+    make DESTDIR=$PKG install
+    rm -r $PKG/usr/share
+}