summaryrefslogtreecommitdiffstats
path: root/gzip/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /gzip/Pkgfile
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'gzip/Pkgfile')
-rw-r--r--gzip/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/gzip/Pkgfile b/gzip/Pkgfile
new file mode 100644
index 0000000..6d302f8
--- /dev/null
+++ b/gzip/Pkgfile
@@ -0,0 +1,26 @@
+description="GNU compression utility (replacement for compress)"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://www.gzip.org/"
+depends=()
+
+name=gzip
+version=1.4
+release=1
+source=(http://ftp.gnu.org/gnu/gzip/gzip-1.4.tar.xz)
+build ()
+{
+ cd $name-$version;
+ ./configure --prefix=/usr --mandir=/usr/man;
+ make;
+ make DESTDIR=$PKG install;
+ mkdir -p $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;
+ rm $PKG/usr/bin/uncompress;
+ ln -s /bin/gunzip $PKG/usr/bin/uncompress;
+ rm -r $PKG/usr/share
+}