summaryrefslogtreecommitdiffstats
path: root/libmpc/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'libmpc/Pkgfile')
-rw-r--r--libmpc/Pkgfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/libmpc/Pkgfile b/libmpc/Pkgfile
new file mode 100644
index 000000000..dca1c9f86
--- /dev/null
+++ b/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.9
+release=2
+source=(http://www.multiprecision.org/mpc/download/mpc-$version.tar.gz)
+build() {
+ cd mpc-$version
+ EGREP=egrep ./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
+}