Commit 18aad1d4 authored by Natanael Copa's avatar Natanael Copa

main/gzip: upgrade to 1.4

parent fc24f4a0
# Contributor: Leonardo Arena <rnalrd@gmail.com> # Contributor: Leonardo Arena <rnalrd@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gzip pkgname=gzip
pkgver=1.3.13 pkgver=1.4
pkgrel=0 pkgrel=0
pkgdesc="A popular data compression program" pkgdesc="A popular data compression program"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
...@@ -12,8 +12,9 @@ makedepends= ...@@ -12,8 +12,9 @@ makedepends=
install="$pkgname.post-deinstall" install="$pkgname.post-deinstall"
source="http://ftp.gnu.org/gnu/gzip/gzip-$pkgver.tar.gz" source="http://ftp.gnu.org/gnu/gzip/gzip-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$_builddir"
# avoid text relocation # avoid text relocation
export DEFS="NO_ASM" export DEFS="NO_ASM"
...@@ -22,6 +23,10 @@ build() { ...@@ -22,6 +23,10 @@ build() {
--disable-nls \ --disable-nls \
--infodir=/usr/share/info --infodir=/usr/share/info
make || return 1 make || return 1
}
package() {
cd "$_builddir"
make DESTDIR=$pkgdir install make DESTDIR=$pkgdir install
mkdir -p "$pkgdir"/bin mkdir -p "$pkgdir"/bin
...@@ -29,4 +34,4 @@ build() { ...@@ -29,4 +34,4 @@ build() {
ln -s /bin/gzip "$pkgdir"/usr/bin/gzip ln -s /bin/gzip "$pkgdir"/usr/bin/gzip
ln -s /bin/gunzip "$pkgdir"/usr/bin/gunzip ln -s /bin/gunzip "$pkgdir"/usr/bin/gunzip
} }
md5sums="c54a31b93e865f6a4410b2dc64662706 gzip-1.3.13.tar.gz" md5sums="e381b8506210c794278f5527cba0e765 gzip-1.4.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment