zip: turn bep into recipe.

This commit is contained in:
Kacper Kasper
2014-04-03 21:42:21 +00:00
parent ec3beb8184
commit 160679de68
3 changed files with 474 additions and 140 deletions

View File

@@ -5,31 +5,51 @@ 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="ftp://ftp.info-zip.org/pub/infozip/src/zip30.tgz"
SRC_URI="http://downloads.sourceforge.net/project/infozip/Zip%203.x%20%28latest%29/3.0/zip30.tar.gz"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND=""
LICENSE="Info-ZIP"
COPYRIGHT="1990-2008 Info-ZIP"
CHECKSUM_SIZE="1118845"
CHECKSUM_MD5="7b74551e63f8ee6aab6fbc86676c0d37"
CHECKSUM_RMD160="1fc99daf3e36494ba392c7514a714fe3d258d232"
CHECKSUM_SHA512="c1c3d62bf1426476c0f9919b568013d6d7b03514912035f09ee283226d94c978791ad2af5310021e96c4c2bf320bfc9d0b8f4045c48e4667e034d98197e1a9b3"
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()
{
cd zip30
make -f beos/Makefile \
PREFIX=`finddir B_COMMON_DIRECTORY` \
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
make $jobArgs -f beos/Makefile
}
INSTALL()
{
cd zip30
make -f beos/Makefile install
make -f beos/Makefile install \
BINDIR=$binDir \
INCLUDEDIR=$includeDir \
LIBDIR=$libDir \
MANDIR=$manDir
}
TEST()
{
cd zip30
# make test
# make check
}
#LICENSE="Info-Zip"
#COPYRIGHT=""