Files
haikuports/media-libs/libwebp/libwebp-0.4.1.recipe
Humdinger a38db25c39 Changes in SUMMARY, DESCRIPTION and whitespace.
Removed the full-stop and repeating package name in SUMMARY.
Removed hard line breaks, broke up some very long paragraphs and
use bullet lists where possible.
All done by browsing through HaikuDepot. There may be (many) more left
in the whole haikuports repo...

Included 10 extended desriptions done by soyoye14 for GCI 2014
(https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632)

Removed/insert whitespace where it seems to be the custom in recipes.
Sometimes rearranged elements of a recipe (moving license and copyright
up, for example).
2015-01-12 19:23:51 +01:00

72 lines
1.6 KiB
Plaintext

SUMMARY="A library for encoding and decoding WebP image files"
DESCRIPTION="
A library for encoding and decoding WebP image files.
"
HOMEPAGE="https://developers.google.com/speed/webp"
SRC_URI="http://downloads.webmproject.org/releases/webp/libwebp-$portVersion.tar.gz"
CHECKSUM_SHA256="00b646e6f66550a8faa998711fe70aabee9ed3bc562a8437c89042901674d027"
LICENSE="BSD (3-clause)"
COPYRIGHT="2011 Google Inc."
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libwebp$secondaryArchSuffix = $portVersion compat >= 0.4
lib:libwebp$secondaryArchSuffix = 5.0.1 compat >= 5
cmd:cwebp$secondaryArchSuffix
cmd:dwebp$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libgif$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libjpeg$secondaryArchSuffix
devel:libgif$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:m4
cmd:find
"
BUILD()
{
./autogen.sh
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libwebp
fixPkgconfig
#devel package
packageEntries devel \
$developDir
}
PROVIDES_devel="
libwebp${secondaryArchSuffix}_devel = $portVersion compat >= 0.4
devel:libwebp$secondaryArchSuffix = 5.0.1 compat >= 5
"
REQUIRES_devel="
libwebp$secondaryArchSuffix == $portVersion base
"