X-Git-Url: http://gitweb/?a=blobdiff_plain;f=gzip%2FPkgfile;h=f32bc0fe0792319a4479ca3d8e95eafdbbeae7d1;hb=038d4363616ba592052ae939e44f2c6001c34477;hp=19089f47cb25faad58b4986096a3d7605cce75e7;hpb=b751b192b8a9f558df99b4050babc1b84d45a372;p=crossrootfs.git diff --git a/gzip/Pkgfile b/gzip/Pkgfile index 19089f4..f32bc0f 100644 --- a/gzip/Pkgfile +++ b/gzip/Pkgfile @@ -5,28 +5,33 @@ # Depends on: name=gzip -version=1.4 -release=1 +version=1.5 +release=2 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) build() { cd $name-$version + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --mandir=/usr/man + 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 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. + + # 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 }