Make p7zip 9.13 an 9.20.1 recipes actual recipes

Remove 9.04 recipe and patch.
This commit is contained in:
Ingo Weinhold
2013-04-23 20:52:36 +02:00
parent e8f0489003
commit 5c158f5193
4 changed files with 58 additions and 186 deletions

View File

@@ -1,24 +1,41 @@
DESCRIPTION="p7zip"
SUMMARY="7-zip file compression program"
DESCRIPTION="p7zip is a port of 7za.exe for POSIX systems like Unix (Linux, Solaris, OpenBSD, FreeBSD, Cygwin, AIX, ...), MacOS X and also for BeOS and Amiga."
HOMEPAGE="http://p7zip.sourceforge.net"
SRC_URI="http://downloads.sourceforge.net/project/p7zip/p7zip/9.13/p7zip_9.13_src_all.tar.bz2"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="8ddb5053db3b1f2696407d01be145779"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="1999-2010 7-Zip Igor Pavlov."
REVISION="2"
ARCHITECTURES="x86_gcc2 ?x86"
PATCHES="p7zip-9.13.patch"
PROVIDES="
p7zip = $portVersion
cmd:7za = $portVersion compat >= 9
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
cmd:gcc
cmd:ld
cmd:make
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
"
SOURCE_DIR="p7zip_9.13"
BUILD()
{
cd p7zip_9.13
cp makefile.haiku makefile.machine
make
}
INSTALL()
{
cd p7zip_9.13
COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
make install DEST_DIR=${DESTDIR} DEST_HOME=`finddir B_COMMON_DIRECTORY` \
DEST_SHARE_DOC=$COMMON_DOCS/doc/p7zip \
DEST_MAN=$COMMON_DOCS/man
make install DEST_DIR=$prefix DEST_HOME=$prefix DEST_SHARE_DOC=$docDir \
DEST_MAN=$manDir
}
LICENSE="GNU LGPL v2.1"
COPYRIGHT="1999-2010 7-Zip Igor Pavlov."