tlibmpfr: new port - mkports - recipes for building multiple softwares with mk(1)
(HTM) git clone git://z3bra.org/mkports
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 42d094c13fa07ec918c60e30f61abae4ca6fe6c2
(DIR) parent 44566d988fc72166c0cf250497a690bbbe54185a
(HTM) Author: z3bra <willyatmailoodotorg>
Date: Sun, 17 Jan 2016 22:10:19 +0100
libmpfr: new port
Diffstat:
A libmpfr/blah | 7 +++++++
A libmpfr/mkfile | 10 ++++++++++
M mkfile | 3 ++-
3 files changed, 19 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/libmpfr/blah b/libmpfr/blah
t@@ -0,0 +1,7 @@
+install:QV: build
+ if [ ! -d $destdir ]; then
+ mkdir -p $destdir
+ cd $pkg-$ver
+ make PREFIX= DESTDIR=$destdir install
+ find $destdir -name '*.la' -delete
+ fi
(DIR) diff --git a/libmpfr/mkfile b/libmpfr/mkfile
t@@ -0,0 +1,10 @@
+pkg = libmpfr
+ver = 3.1.3
+url = http://www.mpfr.org/mpfr-$ver/mpfr-$ver.tar.xz
+
+<../config.mk
+<../default.mk
+
+clean:V:
+ rm -rf $pkg-$ver
+ rm -f mpfr-$ver.*
(DIR) diff --git a/mkfile b/mkfile
t@@ -1,4 +1,5 @@
-ALL = binutils dash mksh musl pm sbase ubase
+ALL = binutils dash libgmp libmpc libmpfr mksh musl pm sbase ubase
+
%:QV:
cd $stem; mk; mk clean