ports

zandra's ports tree
git clone git://zandra.org/ports
Log | Files | Refs | README | LICENSE

mpfr.mk (383B)


      1 TARG = mpfr
      2 DEPS = gmp
      3 
      4 <$mkbuild/mk.common-noinst
      5 
      6 mpfr:QV:
      7 	CC="$CC" ./configure \
      8 		--host="${HOST_TOOLCHAIN_TRIPLET}" \
      9 		--prefix="$PREFIX" \
     10 		--disable-shared \
     11 		--enable-static \
     12 		--with-gmp-include=$gmp_includedir \
     13 		--with-gmp-lib=$gmp_libdir
     14 	make -j$nprocs
     15 	make DESTDIR=`pwd`/lib install
     16 	rm -f lib/lib/libmpfr.la
     17 
     18 install:QV:
     19 	make -j$nprocs install DESTDIR="$ROOT"