CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libmpc: new port, version 0.9
authorVictor Martinez <pitillo@ono.com>
Tue, 15 Mar 2011 07:46:50 +0000 (07:46 +0000)
committerVictor Martinez <pitillo@ono.com>
Tue, 15 Mar 2011 07:46:50 +0000 (07:46 +0000)
libmpc/.footprint [new file with mode: 0644]
libmpc/.md5sum [new file with mode: 0644]
libmpc/Pkgfile [new file with mode: 0644]

diff --git a/libmpc/.footprint b/libmpc/.footprint
new file mode 100644 (file)
index 0000000..f2b899b
--- /dev/null
@@ -0,0 +1,9 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/include/
+-rw-r--r--     root/root       usr/include/mpc.h
+drwxr-xr-x     root/root       usr/lib/
+-rw-r--r--     root/root       usr/lib/libmpc.a
+-rwxr-xr-x     root/root       usr/lib/libmpc.la
+lrwxrwxrwx     root/root       usr/lib/libmpc.so -> libmpc.so.2.0.0
+lrwxrwxrwx     root/root       usr/lib/libmpc.so.2 -> libmpc.so.2.0.0
+-rwxr-xr-x     root/root       usr/lib/libmpc.so.2.0.0
diff --git a/libmpc/.md5sum b/libmpc/.md5sum
new file mode 100644 (file)
index 0000000..b1f0a5e
--- /dev/null
@@ -0,0 +1 @@
+0d6acab8d214bd7d1fbbc593e83dd00d  mpc-0.9.tar.gz
diff --git a/libmpc/Pkgfile b/libmpc/Pkgfile
new file mode 100644 (file)
index 0000000..bd3bfd6
--- /dev/null
@@ -0,0 +1,21 @@
+# Description: C library for the arithmetic of complex numbers 
+# URL: http://www.multiprecision.org/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: libmpfr
+
+name=libmpc
+version=0.9
+release=1
+source=(http://www.multiprecision.org/mpc/download/mpc-$version.tar.gz)
+
+build() {
+  cd mpc-$version
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              EGREP=egrep
+  make
+  make DESTDIR=$PKG install
+  rm -r $PKG/usr/share
+}