summaryrefslogtreecommitdiffstats
path: root/libmpfr/Pkgfile.old
diff options
context:
space:
mode:
Diffstat (limited to 'libmpfr/Pkgfile.old')
-rw-r--r--libmpfr/Pkgfile.old19
1 files changed, 19 insertions, 0 deletions
diff --git a/libmpfr/Pkgfile.old b/libmpfr/Pkgfile.old
new file mode 100644
index 0000000..6fb9b15
--- /dev/null
+++ b/libmpfr/Pkgfile.old
@@ -0,0 +1,19 @@
+# Description: C library for multiple-precision floating-point computations with correct rounding
+# URL: http://www.mpfr.org/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: libgmp
+
+name=libmpfr
+version=3.0.0-p8
+release=1
+source=(http://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz
+ $name-$version.patch.gz)
+
+build() {
+ cd mpfr-${version%-*}
+ gunzip -c $SRC/$name-$version.patch.gz | patch -p1
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/share
+}