summaryrefslogtreecommitdiffstats
path: root/gzip
diff options
context:
space:
mode:
Diffstat (limited to 'gzip')
-rw-r--r--gzip/.footprint31
-rw-r--r--gzip/.md5sum1
-rw-r--r--gzip/.sha256sum1
-rw-r--r--gzip/Pkgfile25
-rw-r--r--gzip/Pkgfile.old30
5 files changed, 88 insertions, 0 deletions
diff --git a/gzip/.footprint b/gzip/.footprint
new file mode 100644
index 0000000..ff67438
--- /dev/null
+++ b/gzip/.footprint
@@ -0,0 +1,31 @@
+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/dir
+-rw-r--r-- root/root usr/share/info/gzip.info
+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/gzexe.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/gzip.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/zdiff.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/zforce.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/zgrep.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/zless.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/zmore.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/znew.1.bz2
diff --git a/gzip/.md5sum b/gzip/.md5sum
new file mode 100644
index 0000000..a998340
--- /dev/null
+++ b/gzip/.md5sum
@@ -0,0 +1 @@
+fc7be225884ae5324b44167ced89f50a gzip-1.4.tar.xz
diff --git a/gzip/.sha256sum b/gzip/.sha256sum
new file mode 100644
index 0000000..f45ffb6
--- /dev/null
+++ b/gzip/.sha256sum
@@ -0,0 +1 @@
+33974f6e2f5e9353e6b37af4fd406e3633603ba8b93c97cda419852ede003df3 gzip-1.4.tar.xz
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;
+}
diff --git a/gzip/Pkgfile.old b/gzip/Pkgfile.old
new file mode 100644
index 0000000..f916b2a
--- /dev/null
+++ b/gzip/Pkgfile.old
@@ -0,0 +1,30 @@
+# Description: GNU compression utility (replacement for compress)
+# URL: http://www.gzip.org/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+
+name=gzip
+version=1.4
+release=1
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.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
+
+ # make uncompress a symlink to gunzip, since it 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
+}