summaryrefslogtreecommitdiffstats
path: root/base/libmpc/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/libmpc/Pkgfile')
-rw-r--r--base/libmpc/Pkgfile19
1 files changed, 19 insertions, 0 deletions
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
+}