diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-23 11:43:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-23 12:09:42 +0000 |
commit | e4930d5bac3e3b79a48a1fa66b1ebfae42ab5da2 (patch) | |
tree | f489c39b3d3fd7cd9447c87ff065d8cf7dbbae4a /main | |
parent | bbb207ed3e8d0f9f12aefa629a42a012c6dd359f (diff) | |
download | aports-e4930d5bac3e3b79a48a1fa66b1ebfae42ab5da2.tar.bz2 aports-e4930d5bac3e3b79a48a1fa66b1ebfae42ab5da2.tar.xz |
main/mpfr3: renamed for upgrade
new abi version
Diffstat (limited to 'main')
-rw-r--r-- | main/mpfr3/APKBUILD (renamed from main/mpfr/APKBUILD) | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/main/mpfr/APKBUILD b/main/mpfr3/APKBUILD index e2d92d1299..54e07b2832 100644 --- a/main/mpfr/APKBUILD +++ b/main/mpfr3/APKBUILD @@ -1,24 +1,25 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=mpfr -pkgver=2.4.2 -pkgrel=2 +pkgname=mpfr3 +pkgver=3.0.0 +pkgrel=0 pkgdesc="multiple-precision floating-point library" url="http://www.mpfr.org/" license="GPL LGPL" depends= makedepends="gmp5-dev texinfo" source="http://www.mpfr.org/mpfr-current/mpfr-$pkgver.tar.bz2" -subpackages="$pkgname-doc $pkgname-dev" +subpackages="$pkgname-doc mpfr-dev:dev" +_builddir="$srcdir"/mpfr-$pkgver build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure --prefix=/usr \ --enable-shared || return 1; make || return 1; } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1; } @@ -26,4 +27,4 @@ dev() { replaces=mpfr default_dev } -md5sums="89e59fe665e2b3ad44a6789f40b059a0 mpfr-2.4.2.tar.bz2" +md5sums="f45bac3584922c8004a10060ab1a8f9f mpfr-3.0.0.tar.bz2" |