diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-27 07:49:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-27 07:49:47 +0000 |
commit | 18aad1d4f200834138a1df1e2dff28d5a7f9c5dc (patch) | |
tree | 5c827e54ed08faf898d08402eb326cf8c460c517 /main/gzip/APKBUILD | |
parent | fc24f4a0aac0122d7f2b77fe6b4eabfeb34d1602 (diff) | |
download | aports-18aad1d4f200834138a1df1e2dff28d5a7f9c5dc.tar.bz2 aports-18aad1d4f200834138a1df1e2dff28d5a7f9c5dc.tar.xz |
main/gzip: upgrade to 1.4
Diffstat (limited to 'main/gzip/APKBUILD')
-rw-r--r-- | main/gzip/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/main/gzip/APKBUILD b/main/gzip/APKBUILD index 6d7a0874f0..e6c6c31613 100644 --- a/main/gzip/APKBUILD +++ b/main/gzip/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Leonardo Arena <rnalrd@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gzip -pkgver=1.3.13 +pkgver=1.4 pkgrel=0 pkgdesc="A popular data compression program" subpackages="$pkgname-doc" @@ -12,8 +12,9 @@ makedepends= install="$pkgname.post-deinstall" source="http://ftp.gnu.org/gnu/gzip/gzip-$pkgver.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$_builddir" # avoid text relocation export DEFS="NO_ASM" @@ -22,6 +23,10 @@ build() { --disable-nls \ --infodir=/usr/share/info make || return 1 +} + +package() { + cd "$_builddir" make DESTDIR=$pkgdir install mkdir -p "$pkgdir"/bin @@ -29,4 +34,4 @@ build() { ln -s /bin/gzip "$pkgdir"/usr/bin/gzip ln -s /bin/gunzip "$pkgdir"/usr/bin/gunzip } -md5sums="c54a31b93e865f6a4410b2dc64662706 gzip-1.3.13.tar.gz" +md5sums="e381b8506210c794278f5527cba0e765 gzip-1.4.tar.gz" |