mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
zopfli: bump to 1.0.2, move from sys-libs to app-arch. (#2578)
This commit is contained in:
@@ -2,23 +2,31 @@ 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."
|
||||
COPYRIGHT="2011-2018 Google Inc."
|
||||
LICENSE="Apache v2"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="$HOMEPAGE/archive/zopfli-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="29743d727a4e0ecd1b93e0bf89476ceeb662e809ab2e6ab007a0b0344800e9b4"
|
||||
CHECKSUM_SHA256="4a570307c37172d894ec4ef93b6e8e3aacc401e78cbcc51cf85b212dbc379a55"
|
||||
SOURCE_DIR="zopfli-zopfli-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64 ?arm ?ppc"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
zopfli$secondaryArchSuffix = $portVersion
|
||||
cmd:zopfli$secondaryArchSuffix
|
||||
cmd:zopfli$commandSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
@@ -33,6 +41,6 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir
|
||||
cp -r zopfli $binDir
|
||||
install -d "$commandBinDir"
|
||||
install -t "$commandBinDir" zopfli
|
||||
}
|
||||
Reference in New Issue
Block a user