diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:12:28 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:12:28 +0100 |
commit | 9291e062cb24bac5d7c7059d4dc64669c1917b33 (patch) | |
tree | ae6f7e4fb2769d6c53b214c5e0b4d862f1df98dc /unzip/Pkgfile | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.gz nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.bz2 nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.xz nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.zip |
aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé
Diffstat (limited to 'unzip/Pkgfile')
-rwxr-xr-x | unzip/Pkgfile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/unzip/Pkgfile b/unzip/Pkgfile new file mode 100755 index 000000000..a22426a21 --- /dev/null +++ b/unzip/Pkgfile @@ -0,0 +1,28 @@ +# Description: Utilitaire de décompression de fichiers zip +# URL: http://www.info-zip.org +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=unzip +version=6.0 +release=1 +source=(http://downloads.sourceforge.net/infozip/unzip60.tar.gz) + + +build() { + cd $name${version/./} + export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS \ + -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT \ + -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD \ + -DUSE_BZIP2 -DNATIVE" + case `uname -m` in + x86_64) + make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" prefix=/usr \ + LF2="" D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2 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 +} |