summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmpc/.footprint13
-rw-r--r--libmpc/.md5sum1
-rw-r--r--libmpc/.sha256sum1
-rw-r--r--libmpc/Pkgfile17
-rw-r--r--libmpc/Pkgfile.old17
5 files changed, 49 insertions, 0 deletions
diff --git a/libmpc/.footprint b/libmpc/.footprint
new file mode 100644
index 0000000..817f5ac
--- /dev/null
+++ b/libmpc/.footprint
@@ -0,0 +1,13 @@
+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
+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/mpc.info
diff --git a/libmpc/.md5sum b/libmpc/.md5sum
new file mode 100644
index 0000000..791568f
--- /dev/null
+++ b/libmpc/.md5sum
@@ -0,0 +1 @@
+e98267ebd5648a39f881d66797122fb6 mpc-0.8.2.tar.gz
diff --git a/libmpc/.sha256sum b/libmpc/.sha256sum
new file mode 100644
index 0000000..85ddf70
--- /dev/null
+++ b/libmpc/.sha256sum
@@ -0,0 +1 @@
+ae79f8d41d8a86456b68607e9ca398d00f8b7342d1d83bcf4428178ac45380c7 mpc-0.8.2.tar.gz
diff --git a/libmpc/Pkgfile b/libmpc/Pkgfile
new file mode 100644
index 0000000..c807363
--- /dev/null
+++ b/libmpc/Pkgfile
@@ -0,0 +1,17 @@
+description="C library for the arithmetic of complex numbers."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://www.multiprecision.org/"
+depends=(libmpfr)
+
+name=libmpc
+version=0.8.2
+release=1
+source=(http://www.multiprecision.org/${name/lib}/download/${name/lib}-$version.tar.gz)
+build ()
+{
+ cd mpc-$version;
+ ./configure --prefix=$prefix --mandir=$mandir;
+ make;
+ make DESTDIR=$PKG install;
+}
diff --git a/libmpc/Pkgfile.old b/libmpc/Pkgfile.old
new file mode 100644
index 0000000..0025f7c
--- /dev/null
+++ b/libmpc/Pkgfile.old
@@ -0,0 +1,17 @@
+# Description: C library for the arithmetic of complex numbers
+# URL: http://www.multiprecision.org/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: libmpfr
+
+name=libmpc
+version=0.8.2
+release=1
+source=(http://www.multiprecision.org/mpc/download/mpc-$version.tar.gz)
+
+build() {
+ cd mpc-$version
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/share
+}