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