mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
I've fixed 2 recipe, one for zziplib and one for zopfli (#937)
zziplib and zopfli recipes fixed
This commit is contained in:
38
sys-libs/zopfli/zopfli-1.0.1.recipe
Normal file
38
sys-libs/zopfli/zopfli-1.0.1.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user