X-Git-Url: http://gitweb/?a=blobdiff_plain;f=gzip%2FPkgfile;h=b229a4c6fad1b36e04bf223929efd73e0a935632;hb=a11d64f24049d3e681a337c1ba26332ffd2652b4;hp=fe83147460ab9bb7ea4eac2ad2a90d237f7cc8f8;hpb=6dca1d213a39ee6af51632926e8b7c8914215cd9;p=crossrootfs.git diff --git a/gzip/Pkgfile b/gzip/Pkgfile index fe83147..b229a4c 100644 --- a/gzip/Pkgfile +++ b/gzip/Pkgfile @@ -1,34 +1,36 @@ # Description: GNU compression utility (replacement for compress) # URL: http://www.gzip.org/ # Maintainer: CRUX System Team, core-ports at crux dot nu -# Arch Maintainer, CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: name=gzip -version=1.3.12 -release=3 -source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \ - $name-futimens.patch) +version=1.8 +release=1 +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) build() { cd $name-$version - patch -p1 -i $SRC/$name-futimens.patch + ./configure --build=$CHOST \ --host=$CTARGET \ - --prefix=/usr \ - --mandir=/usr/man + --prefix=/usr + make make DESTDIR=$PKG install - mkdir -p $PKG/bin + install -d $PKG/bin mv $PKG/usr/bin/{gzip,gunzip,zcat} $PKG/bin - rm $PKG/usr/man/man1/{gunzip.1,zcat.1,zcmp.1} - ln -sf gzip.1.gz $PKG/usr/man/man1/gunzip.1.gz - ln -sf gzip.1.gz $PKG/usr/man/man1/zcat.1.gz - ln -sf zdiff.1.gz $PKG/usr/man/man1/zcmp.1.gz - # make uncompress a symlink to gunzip, since it will not work - # if / and /usr are on different file systems. + + rm $PKG/usr/share/man/man1/{gunzip.1,zcat.1,zcmp.1} + ln -sf gzip.1.gz $PKG/usr/share/man/man1/gunzip.1.gz + ln -sf gzip.1.gz $PKG/usr/share/man/man1/zcat.1.gz + ln -sf zdiff.1.gz $PKG/usr/share/man/man1/zcmp.1.gz + + # make uncompress a symlink to gunzip, since the hardlink + # will not work if / and /usr are on different file systems. rm $PKG/usr/bin/uncompress ln -s /bin/gunzip $PKG/usr/bin/uncompress - rm -r $PKG/usr/share + + rm -r $PKG/usr/share/info }