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