ports

recipes for building multiple softwares
git clone git://z3bra.org/ports
Log | Files | Refs

commit bb3d72eea127b4a87b0c3042d8880b7896f67bf9
parent 1262bdd28326583380d935ca3a18d5bab4d5de1f
Author: z3bra <willyatmailoodotorg>
Date:   Fri Jan  8 19:56:11 2016

Add gmp, mpfr and mpc. gcc comes!

Diffstat:
 libgmp/makeme  | 19 +++++++++++++++++++
 libmpc/makeme  | 17 +++++++++++++++++
 libmpfr/makeme | 17 +++++++++++++++++
 3 files changed, 53 insertions(+), 0 deletions(-)

diff --git a/libgmp/makeme b/libgmp/makeme @@ -0,0 +1,19 @@ +name=libgmp +version=6.1.0 +source=http://gmplib.org/download/gmp/gmp-$version.tar.xz + + +package() { + curl -L -# $source | tar xJ + + cd gmp-$version + ./configure $CONFIGURE_OPT --build=$CBUILD + + make CC=$CC LDFLAGS="$LDFLAGS" + make DESTDIR=$WORKDIR/$name install + rm -r $WORKDIR/$name/share + rm $WORKDIR/$name/lib/libgmp.la + + cd ../.. + rm -rf gmp-$version +} diff --git a/libmpc/makeme b/libmpc/makeme @@ -0,0 +1,17 @@ +name=libmpc +version=1.0.3 +source=http://www.multiprecision.org/mpc/download/mpc-$version.tar.gz + +package() { + curl -# $source | tar xz + cd mpc-$version + ./configure $CONFIGURE_OPT --with-gmp-lib=$PM_ROOT/lib --with-mpfr-lib=$PM_ROOT/lib + + make CC="$CC" LDFLAGS="$LDFLAGS" + make DESTDIR=$WORKDIR/$name install + rm -r $WORKDIR/$name/share + rm $WORKDIR/$name/lib/libmpc.la + + cd ../.. + rm -rf mpc-$version +}+ \ No newline at end of file diff --git a/libmpfr/makeme b/libmpfr/makeme @@ -0,0 +1,17 @@ +name=libmpfr +version=3.1.3 +source=http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.xz + +package() { + curl -# $source | tar xJ + cd mpfr-$version + > doc/mpfr.info + ./configure $CONFIGURE_OPT + make CC="$CC" LDFLAGS="$LDFLAGS" + make DESTDIR=$WORKDIR/$name install + rm -r $WORKDIR/$name/share + rm $WORKDIR/$name/lib/libmpfr.la + + cd ../.. + rm -rf mpfr-$version +}+ \ No newline at end of file