mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
39 lines
857 B
Bash
39 lines
857 B
Bash
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
|
|
}
|