summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/gzip/.footprint33
-rw-r--r--base/gzip/.md5sum1
-rwxr-xr-xbase/gzip/Pkgfile30
3 files changed, 64 insertions, 0 deletions
diff --git a/base/gzip/.footprint b/base/gzip/.footprint
new file mode 100644
index 000000000..725767e30
--- /dev/null
+++ b/base/gzip/.footprint
@@ -0,0 +1,33 @@
+drwxr-xr-x root/root bin/
+-rwxr-xr-x root/root bin/gunzip
+-rwxr-xr-x root/root bin/gzip
+-rwxr-xr-x root/root bin/zcat
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/gzexe
+lrwxrwxrwx root/root usr/bin/uncompress -> /bin/gunzip
+-rwxr-xr-x root/root usr/bin/zcmp
+-rwxr-xr-x root/root usr/bin/zdiff
+-rwxr-xr-x root/root usr/bin/zegrep
+-rwxr-xr-x root/root usr/bin/zfgrep
+-rwxr-xr-x root/root usr/bin/zforce
+-rwxr-xr-x root/root usr/bin/zgrep
+-rwxr-xr-x root/root usr/bin/zless
+-rwxr-xr-x root/root usr/bin/zmore
+-rwxr-xr-x root/root usr/bin/znew
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/gzip.info.gz
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/gunzip.1.gz
+-rw-r--r-- root/root usr/share/man/man1/gzexe.1.gz
+-rw-r--r-- root/root usr/share/man/man1/gzip.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zcat.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zcmp.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zdiff.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zforce.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zgrep.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zless.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zmore.1.gz
+-rw-r--r-- root/root usr/share/man/man1/znew.1.gz
diff --git a/base/gzip/.md5sum b/base/gzip/.md5sum
new file mode 100644
index 000000000..ad4e4bec3
--- /dev/null
+++ b/base/gzip/.md5sum
@@ -0,0 +1 @@
+b5bac2d21840ae077e0217bc5e4845b1 gzip-1.3.12.tar.gz
diff --git a/base/gzip/Pkgfile b/base/gzip/Pkgfile
new file mode 100755
index 000000000..9835cab93
--- /dev/null
+++ b/base/gzip/Pkgfile
@@ -0,0 +1,30 @@
+# Description: Programme pour compresser et décompresser des fichiers
+# URL: http://www.gzip.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: groff
+
+name=gzip
+version=1.3.12
+release=1
+source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
+
+
+build() {
+cd $name-$version
+sed -i 's/futimens/gl_&/' gzip.c lib/utimens.{c,h}
+./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --bindir=/bin \
+ --infodir=/usr/share/info
+make
+install -d $PKG/usr/bin
+make DESTDIR=$PKG install
+mv -v $PKG/bin/{gzexe,uncompress,zcmp,zdiff,zegrep} $PKG/usr/bin
+mv -v $PKG/bin/{zfgrep,zforce,zgrep,zless,zmore,znew} $PKG/usr/bin
+rm $PKG/usr/bin/uncompress
+ln -s /bin/gunzip $PKG/usr/bin/uncompress
+if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+fi
+}