mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
* fceux SUMMARY must have at least 3 words Re-ordered blocks * fenris SUMMARY must start with capital letter Re-ordered blocks * gcc SUMMARY must have at least 3 words Re-ordered blocks * giflib6 SUMMARY must start with capital letter Re-ordered blocks * glm SUMMARY must have at least 3 words Re-ordered blocks * hexedit SUMMARY must have at least 3 words Re-ordered blocks * lateef_font SUMMARY must have at least 3 words Re-ordered blocks * libmicro SUMMARY must have at least 3 words Re-ordered blocks * libusb_compat SUMMARY must start with capital letter Re-ordered blocks * readline Re-ordered blocks * libutf8proc SUMMARY must start with capital letter Re-ordered blocks Added REQUIRES_devel * libwebp SUMMARY must start with capital letter Re-ordered blocks * lighttpd SUMMARY must start with capital letter Re-ordered blocks * lzip SUMMARY must start with capital letter Re-ordered blocks
70 lines
1.5 KiB
Bash
70 lines
1.5 KiB
Bash
SUMMARY="A library for encoding/decoding WebP images"
|
|
DESCRIPTION="A library for encoding and decoding WebP image files."
|
|
HOMEPAGE="http://code.google.com/p/webp"
|
|
COPYRIGHT="2011 Google Inc."
|
|
LICENSE="BSD (3-clause)"
|
|
REVISION="1"
|
|
SOURCE_URI="http://webp.googlecode.com/files/libwebp-0.3.1.tar.gz"
|
|
CHECKSUM_SHA256="b37932c625322a69fe4e9b88884b5c7aed2b3eaf9fd5e5b480aee339a92e6ee7"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libwebp$secondaryArchSuffix = $portVersion
|
|
lib:libwebp$secondaryArchSuffix = $portVersion
|
|
cmd:cwebp$secondaryArchSuffix
|
|
cmd:dwebp$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libgif$secondaryArchSuffix
|
|
lib:libpng$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libwebp${secondaryArchSuffix}_devel = $portVersion compat >= 0.3
|
|
devel:libwebp$secondaryArchSuffix = 4.0.3 compat >= 4
|
|
"
|
|
REQUIRES_devel="
|
|
libwebp$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
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
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
./autogen.sh
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libwebp
|
|
fixPkgconfig
|
|
|
|
#devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|