SUMMARY="Compression utility for zip archives"
DESCRIPTION="
Zip is a compression and packaging utility with high \
portability. It supports password-based encryption of files and filenames, \
incremental backups and multi-part archives.
"
HOMEPAGE="http://www.info-zip.org/Zip.html"
SRC_URI="http://downloads.sourceforge.net/project/infozip/Zip%203.x%20%28latest%29/3.0/zip30.tar.gz"
CHECKSUM_SHA256="f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369"
REVISION="1"
LICENSE="Info-ZIP"
COPYRIGHT="1990-2008 Info-ZIP"

ARCHITECTURES="x86 x86_gcc2"

PATCHES="$portName-$portVersion.patchset"

PROVIDES="
	$portName = $portVersion
	cmd:zip = $portVersion
	cmd:zipcloak = $portVersion
	cmd:zipnote = $portVersion
	cmd:zipsplit = $portVersion
	"
REQUIRES="
	haiku >= $haikuVersion
	"
BUILD_REQUIRES="
	"
BUILD_PREREQUIRES="
	haiku_devel >= $haikuVersion
	cmd:gcc
	cmd:ld
	cmd:make
	"
	
SOURCE_DIR="zip30"

BUILD()
{
	make $jobArgs -f beos/Makefile
}

INSTALL()
{
	make -f beos/Makefile install \
		BINDIR=$binDir \
		INCLUDEDIR=$includeDir \
		LIBDIR=$libDir \
		MANDIR=$manDir
}
