Files
haikuports/app-arch/p7zip/p7zip-9.20.1.recipe
2013-06-30 11:45:16 +02:00

46 lines
1.0 KiB
Plaintext

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.20.1/p7zip_9.20.1_src_all.tar.bz2"
CHECKSUM_MD5="bd6caaea567dc0d995c990c5cc883c89"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="1999-2011 7-Zip Igor Pavlov."
REVISION="4"
ARCHITECTURES="x86_gcc2 ?x86"
PATCHES="p7zip-9.20.1.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.20.1"
BUILD()
{
cp makefile.haiku makefile.machine
make
}
INSTALL()
{
make install DEST_DIR="" DEST_HOME=$prefix DEST_SHARE_DOC=$docDir \
DEST_MAN=$manDir
expanderRulesDir=$dataDir/expander/rules
mkdir -p $expanderRulesDir
cp "$portDir/sources/p7zip-expander-rules" "$expanderRulesDir/p7zip"
}