1 # Template file for 'unzip'
4 patch_files=$pkgname-fix-unzipsfx.diff
5 wrksrc=$pkgname-$version
8 url=ftp://ftp.info-zip.org/pub/infozip/src/
9 build_style=gnu_makefile
10 make_cmd="$PKGFS_MASTERDIR/bin/gmake"
11 CFLAGS="-I. -DUNIX -Dunix -DUSE_UNSHRINK"
12 make_build_args="-f unix/Makefile"
13 make_build_target="generic_zlib unzipsfx"
14 short_desc="List, test and extract compressed files in a ZIP archive"
15 maintainer="Juan RP <xtraeme@gmail.com>"
16 checksum=b749b0923bc4cceaa6f937aef688e9713a84328c
18 Unzip will list, test, or extract files from a ZIP archive, commonly
19 found on MS-DOS systems. The default behavior (with no options) is to
20 extract into the current directory (and subdirectories below it) all
21 files from the specified ZIP archive. Unzip is compatible with
22 archives created by PKWARE's PKZIP, but in many cases the program
23 options or default behaviors differ.
25 Zipinfo lists technical information about files in a ZIP archive, most
26 commonly found on MS-DOS systems. Such information includes file access
27 permissions, encryption status, type of compression, version and operating
28 system or file system of compressing program, and the like.
30 Funzip acts as a filter; that is, it assumes that a ZIP archive is
31 being piped into standard input, and it extracts the first member from
32 the archive to stdout. If there is an argument, then the input comes
33 from the specified file instead of from stdin.
35 Unzipsfx is a modified version of unzip designed to be prepended to
36 existing ZIP archives in order to form self-extracting archives.
37 Instead of taking its first non-flag argument to be the zipfile(s) to
38 be extracted, unzipsfx seeks itself under the name by which it was
39 invoked and tests or extracts the contents of the appended archive."