I've fixed 2 recipe, one for zziplib and one for zopfli (#937)

zziplib and zopfli recipes fixed
This commit is contained in:
dacianf
2017-02-03 20:16:43 +02:00
committed by Scott McCreary
parent 859a17f75a
commit 3b448a14a9
3 changed files with 112 additions and 45 deletions

View File

@@ -0,0 +1,38 @@
SUMMARY="This is a compression library"
DESCRIPTION="Zopfli Compression Algorithm is a zlib (gzip, deflate) \
compatible compressor programmed in C"
HOMEPAGE="https://github.com/google/zopfli"
COPYRIGHT="2011-2013 Google Inc."
LICENSE="Apache v2"
REVISION="1"
SOURCE_URI="$HOMEPAGE/archive/zopfli-$portVersion.tar.gz"
CHECKSUM_SHA256="29743d727a4e0ecd1b93e0bf89476ceeb662e809ab2e6ab007a0b0344800e9b4"
SOURCE_DIR="zopfli-zopfli-$portVersion"
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm ?ppc"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
zopfli$secondaryArchSuffix = $portVersion
cmd:zopfli$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir -p $binDir
cp -r zopfli $binDir
}