summaryrefslogtreecommitdiffstats
path: root/base/libmpc
diff options
context:
space:
mode:
Diffstat (limited to 'base/libmpc')
-rw-r--r--base/libmpc/.footprint12
-rw-r--r--base/libmpc/.md5sum1
-rw-r--r--base/libmpc/Pkgfile19
3 files changed, 32 insertions, 0 deletions
diff --git a/base/libmpc/.footprint b/base/libmpc/.footprint
new file mode 100644
index 000000000..19fe74c0d
--- /dev/null
+++ b/base/libmpc/.footprint
@@ -0,0 +1,12 @@
+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/mpc.info.gz
diff --git a/base/libmpc/.md5sum b/base/libmpc/.md5sum
new file mode 100644
index 000000000..11685f361
--- /dev/null
+++ b/base/libmpc/.md5sum
@@ -0,0 +1 @@
+5b34aa804d514cc295414a963aedb6bf mpc-0.8.1.tar.gz
diff --git a/base/libmpc/Pkgfile b/base/libmpc/Pkgfile
new file mode 100644
index 000000000..9207e4c13
--- /dev/null
+++ b/base/libmpc/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Librairie pour le calcul arithmétique de nombres complexes avec une haute précision
+# URL: http://www.mpfr.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=libmpc
+version=0.8.1
+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
+ # Remove the dir file
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
+}