diff options
author | Lukc <lukc@upyum.com> | 2010-12-11 20:07:48 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-11 20:07:48 +0100 |
commit | 49edac2eb51125a8d73eb20a3c6ae5d8f4164f28 (patch) | |
tree | f6e8677326bd97de1bcca8e65177160e08c50031 /gzip/Pkgfile | |
download | opt-49edac2eb51125a8d73eb20a3c6ae5d8f4164f28.tar.gz opt-49edac2eb51125a8d73eb20a3c6ae5d8f4164f28.tar.bz2 opt-49edac2eb51125a8d73eb20a3c6ae5d8f4164f28.tar.xz opt-49edac2eb51125a8d73eb20a3c6ae5d8f4164f28.zip |
Recette de gzip ajout?e.
Diffstat (limited to 'gzip/Pkgfile')
-rw-r--r-- | gzip/Pkgfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gzip/Pkgfile b/gzip/Pkgfile new file mode 100644 index 0000000..b799a1a --- /dev/null +++ b/gzip/Pkgfile @@ -0,0 +1,25 @@ +description="GNU compression utility." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" +url="http://www.gzip.org/" +depends=() + +name=gzip +version=1.4 +release=1 +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) +build () +{ + cd $name-$version; + ./configure --prefix=$prefix --mandir=$mandir; + make; + make DESTDIR=$PKG install; + mkdir -p $PKG/bin; + mv $PKG/usr/bin/{gzip,gunzip,zcat} $PKG/bin; + rm $PKG$mandir/man1/{gunzip.1,zcat.1,zcmp.1}; + ln -sf gzip.1.gz $PKG$mandir/man1/gunzip.1.gz; + ln -sf gzip.1.gz $PKG$mandir/man1/zcat.1.gz; + ln -sf zdiff.1.gz $PKG$mandir/man1/zcmp.1.gz; + rm $PKG/usr/bin/uncompress; + ln -s /bin/gunzip $PKG/usr/bin/uncompress; +} |