summaryrefslogtreecommitdiffstats
path: root/base/unzip/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-08 22:41:29 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-08 22:41:29 +0200
commitea9bd734ec1f8507c6e979553a3ba5989b61d8b2 (patch)
tree60e229a1421ae163ad22856cbd8e59a8de1bd09b /base/unzip/Pkgfile
parentf41dae52dcba5168242e3cfde06cb91ab6d1b0ab (diff)
downloadnutyx-extra-ea9bd734ec1f8507c6e979553a3ba5989b61d8b2.tar.gz
nutyx-extra-ea9bd734ec1f8507c6e979553a3ba5989b61d8b2.tar.bz2
nutyx-extra-ea9bd734ec1f8507c6e979553a3ba5989b61d8b2.tar.xz
nutyx-extra-ea9bd734ec1f8507c6e979553a3ba5989b61d8b2.zip
Ajout de unzip#5.52-1
Diffstat (limited to 'base/unzip/Pkgfile')
-rwxr-xr-xbase/unzip/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/base/unzip/Pkgfile b/base/unzip/Pkgfile
new file mode 100755
index 000000000..baec20844
--- /dev/null
+++ b/base/unzip/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Utilitaire de décompression de fichiers zip
+# URL: http://infozip.sourceforge.net/UnZip.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=unzip
+version=5.52
+release=1
+source=(http://fresh.t-systems-sfr.com/unix/src/misc/unzip552.tar.gz\
+ http://www.linuxfromscratch.org/patches/blfs/svn/unzip-5.52-security_fix-1.patch\
+ http://www.linuxfromscratch.org/patches/blfs/svn/unzip-5.52-security_fix-2.patch )
+
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../unzip-5.52-security_fix-1.patch
+ patch -Np1 -i ../unzip-5.52-security_fix-2.patch
+ case `uname -m` in
+ x86_64)
+ make -f unix/Makefile LOCAL_UNZIP=-D FILE_OFFSET_64BITS=64 \
+ CF="-0 -Wall -I. -DUSE_UNSHRINK" prefix=/usr unzips;;
+ i?86)
+ make -f unix/Makefile \
+ LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux;;
+ esac
+ make -f unix/Makefile prefix=$PKG/usr MANDIR=$PKG/usr/share/man/man1 install
+}