talimat 815 B

1234567891011121314151617181920212223242526272829
  1. # Description: PKZIP tarafından yapılanlar gibi .zip arşivlerini açar.
  2. # URL: http://www.info-zip.org
  3. # Packager: milisarge
  4. # Depends on:
  5. name=unzip
  6. version=6.0
  7. release=1
  8. source=(http://downloads.sourceforge.net/infozip/unzip60.tar.gz)
  9. build() {
  10. cd $name${version/./}
  11. export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS \
  12. -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT \
  13. -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD \
  14. -DUSE_BZIP2 -DNATIVE"
  15. case `uname -m` in
  16. x86_64)
  17. make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" prefix=/usr \
  18. LF2="" D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2 unzips;;
  19. i?86)
  20. make -f unix/Makefile \
  21. LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux;;
  22. esac
  23. make -f unix/Makefile prefix=$PKG/usr MANDIR=$PKG/usr/share/man/man1 install
  24. }