summaryrefslogtreecommitdiffstats
path: root/base/gzip/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:49:06 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:49:06 +0200
commit9002eb48291cd8a10eaeb356c8d4cf683b346169 (patch)
treebfec13e0137d9b0f5b26a6ff40ee65e1eabfa6f7 /base/gzip/Pkgfile
parent673734e4acc3e006babaab2355c0531edea69f39 (diff)
downloadnutyx-pakxe-9002eb48291cd8a10eaeb356c8d4cf683b346169.tar.gz
nutyx-pakxe-9002eb48291cd8a10eaeb356c8d4cf683b346169.tar.bz2
nutyx-pakxe-9002eb48291cd8a10eaeb356c8d4cf683b346169.tar.xz
nutyx-pakxe-9002eb48291cd8a10eaeb356c8d4cf683b346169.zip
Ajout de gzip#1.3.12-1
Diffstat (limited to 'base/gzip/Pkgfile')
-rwxr-xr-xbase/gzip/Pkgfile30
1 files changed, 30 insertions, 0 deletions
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
+}