summaryrefslogtreecommitdiffstats
path: root/gzip/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gzip/Pkgfile')
-rwxr-xr-xgzip/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/gzip/Pkgfile b/gzip/Pkgfile
new file mode 100755
index 000000000..c7b0c646b
--- /dev/null
+++ b/gzip/Pkgfile
@@ -0,0 +1,27 @@
+# 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:
+
+name=gzip
+version=1.4
+release=1
+source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
+
+
+build() {
+cd $name-$version
+./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
+if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+fi
+}