CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libmpc: Initial import, added MACHTYPE to configure options
authorVictor Martinez <pitillo@ono.com>
Wed, 7 Dec 2011 13:19:06 +0000 (14:19 +0100)
committerVictor Martinez <pitillo@ono.com>
Wed, 7 Dec 2011 13:19:06 +0000 (14:19 +0100)
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..37fcd64
--- /dev/null
@@ -0,0 +1,18 @@
+# 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 --prefix=/usr --build=$MACHTYPE EGREP=egrep 
+  make
+  make DESTDIR=$PKG install
+  rm -r $PKG/usr/share
+}