From 5aaafe3a2244db767dc8c12d97b43738085626cf Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 12 Nov 2008 07:35:56 +0000 Subject: core/mpfr: new aport --- core/mpfr/APKBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 core/mpfr/APKBUILD (limited to 'core/mpfr') diff --git a/core/mpfr/APKBUILD b/core/mpfr/APKBUILD new file mode 100644 index 000000000..320ac107a --- /dev/null +++ b/core/mpfr/APKBUILD @@ -0,0 +1,25 @@ +pkgname=mpfr +pkgver=2.3.2 +pkgrel=2 +pkgdesc="multiple-precision floating-point library" +url="http://www.mpfr.org/" +license="GPL LGPL" +depends="gmp" +makedepends="gmp-dev texinfo" +source="http://www.mpfr.org/mpfr-current/mpfr-2.3.2.tar.bz2" +subpackages="$pkgname-doc" + +build () +{ + cd "${srcdir}/${pkgname}-${pkgver}"; + ./configure --prefix=/usr \ + --disable-thread-safe \ + --enable-shared || return 1; + make || return 1; + make DESTDIR="${pkgdir}" install || return 1; + + cd "${pkgdir}/usr/share/info" || return 1; + rm -f dir; + gzip * || return 1 +} +md5sums="527147c097874340cb9cee0579dacf3b mpfr-2.3.2.tar.bz2" -- cgit v1.2.3