1 # Contributor: Andreas Schönfelder <passtschu at freenet dot de>
6 pkgdesc="GNU compression utility"
8 url="http://www.gnu.org/software/gzip/"
11 depends=('glibc' 'bash')
16 source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz
17 https://trac.macports.org/raw-attachment/ticket/16446/patch-gzip-rsyncable.diff)
18 md5sums=('e381b8506210c794278f5527cba0e765'
19 '350760fd5a53acd5d54902f9e2d7c9fc')
22 cd $srcdir/gzip-$pkgver
24 patch -p0 < $srcdir/patch-gzip-rsyncable.diff || return 1
26 ./configure --prefix=/usr
28 make prefix=$pkgdir/usr install
30 install -dm755 $pkgdir/bin
32 mv gzip gunzip zcat uncompress $pkgdir/bin