From 18aad1d4f200834138a1df1e2dff28d5a7f9c5dc Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 27 Jan 2010 07:49:47 +0000 Subject: main/gzip: upgrade to 1.4 --- main/gzip/APKBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'main') diff --git a/main/gzip/APKBUILD b/main/gzip/APKBUILD index 6d7a0874f..e6c6c3161 100644 --- a/main/gzip/APKBUILD +++ b/main/gzip/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Leonardo Arena # Maintainer: Natanael Copa 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" -- cgit v1.2.3