0
0
Fork 0
haikuports/app-arch/unzip/unzip-6.10c23.recipe

52 lines
971 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="1990-2017 Info-ZIP"
LICENSE="Info-ZIP"
REVISION="4"
SOURCE_URI="http://antinode.info/ftp/info-zip/unzip610c23.zip"
CHECKSUM_SHA256="a9c3f0b4377aa593a77574e2fb69aeab97e66e93d8b110797f7b329e09848b62"
SOURCE_DIR="unzip610c23"
PATCHES="unzip-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
unzip = $portVersion
cmd:funzip
cmd:unzip
cmd:unzipsfx
cmd:zipgrep
cmd:zipinfo
"
REQUIRES="
haiku
lib:libiconv
"
BUILD_REQUIRES="
haiku_devel
devel:libiconv
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
BUILD()
{
make -f unix/Makefile haiku MANDIR=$manDir/man1 LN="ln -s"
}
INSTALL()
{
make -f unix/Makefile install PREFIX=$prefix MANDIR=$manDir/man1 LN="ln -s"
}
TEST()
{
make test
}