summaryrefslogtreecommitdiffstats
path: root/libmpc/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'libmpc/Pkgfile')
-rw-r--r--libmpc/Pkgfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/libmpc/Pkgfile b/libmpc/Pkgfile
new file mode 100644
index 0000000..a78ed04
--- /dev/null
+++ b/libmpc/Pkgfile
@@ -0,0 +1,18 @@
+description="C library for the arithmetic of complex numbers"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://www.multiprecision.org/"
+depends=(libmpfr)
+
+name=libmpc
+version=0.8.2
+release=1
+source=(http://www.multiprecision.org/mpc/download/mpc-0.8.2.tar.gz)
+build ()
+{
+ cd mpc-$version;
+ ./configure --prefix=/usr;
+ make;
+ make DESTDIR=$PKG install;
+ rm -r $PKG/usr/share
+}