0
0
Fork 0
haikuports/app-arch/unzip/unzip-6.0.recipe

50 lines
972 B
Bash

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"
COPYRIGHT="1995-2014 Greg Roelofs"
LICENSE="Info-ZIP"
REVISION="5"
SOURCE_URI="http://downloads.sourceforge.net/project/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz"
CHECKSUM_SHA256="036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37"
SOURCE_DIR="unzip60"
PATCHES="unzip-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
unzip = $portVersion
cmd:funzip
cmd:unzip
cmd:unzipsfx
cmd:zipgrep
cmd:zipinfo
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
BUILD()
{
make -f unix/Makefile haiku MANDIR=$manDir/man1
}
INSTALL()
{
make -f unix/Makefile install PREFIX=$prefix MANDIR=$manDir/man1
}
TEST()
{
make test
}