summaryrefslogtreecommitdiffstats
path: root/libmpc/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 05:42:22 +0100
committerLukc <lukc@upyum.com>2010-12-12 05:42:22 +0100
commit582c0ba7cfdd822a226ce2750d5069df2f9a05e8 (patch)
treec7e55c15faa8a7ce83526fffed45ca14ad7fafbf /libmpc/Pkgfile
parentf917d524c821cc729c3341cca58d890cdda66155 (diff)
downloaddevel-582c0ba7cfdd822a226ce2750d5069df2f9a05e8.tar.gz
devel-582c0ba7cfdd822a226ce2750d5069df2f9a05e8.tar.bz2
devel-582c0ba7cfdd822a226ce2750d5069df2f9a05e8.tar.xz
devel-582c0ba7cfdd822a226ce2750d5069df2f9a05e8.zip
Recette de libmcp ajoutée.
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;
+}