Add recipe for unzip 6.10c11.

While this is not a stable release from unzip, it includes the Haiku
changes we upstreamed in 2011. It is better to use this than to backport
those changes to 6.0 again.
This commit is contained in:
Adrien Destugues
2014-10-14 20:37:37 +02:00
parent 75aed9c368
commit e92262243a
2 changed files with 139 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
SUMMARY="Extraction utility for zip archives."
DESCRIPTION="
UnZip is an extraction utility for archives compressed in \
.zip format (zipfiles). UnZip can list or extract files from an archive \
or test its integrity.
"
HOMEPAGE="http://www.info-zip.org/UnZip.html"
REVISION="1"
ARCHITECTURES="x86_gcc2"
SRC_URI="http://antinode.info/ftp/info-zip/unzip610c11.zip"
CHECKSUM_SHA256="13d92580d89e7c4199ba9a883957cc3676f0235dcac6f701f8f951b015c8d4c8"
SOURCE_DIR="unzip610c11"
PATCHES="unzip-$portVersion.patchset"
PROVIDES="
unzip = $portVersion
cmd:funzip
cmd:unzip
cmd:unzipsfx
cmd:zipgrep
cmd:zipinfo
"
REQUIRES="
haiku >= $haikuVersion
lib:libiconv
"
BUILD_REQUIRES="
devel:libiconv
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:gcc
cmd:make
"
BUILD()
{
make -f beos/Makefile \
prefix=$prefix MANDIR=$manDir BINDIR=$binDir
}
INSTALL()
{
mkdir -p $binDir
mkdir -p $manDir/man1
make -f beos/Makefile install \
prefix=$prefix MANDIR=$manDir BINDIR=$binDir
}
LICENSE="Info-ZIP"
COPYRIGHT="1995-2014 Greg Roelofs"