Files
haikuports/media-gfx/optipng/optipng-0.7.4.recipe
noryb009 08e04d1c9f Update supported targets for OptiPNGTranslator
Mark x86 and x86_64 as supported targets in OptiPNG and
OptiPNGTranslator.
2013-12-27 12:10:48 -05:00

54 lines
1.1 KiB
Plaintext

SUMMARY="A PNG optimizer, making PNG files smaller"
DESCRIPTION="
OptiPNG is a PNG optimizer, recompressing PNG files so they
become smaller, without losing any information. Additionally,
OptiPNG can convert other image formats, such as BMP,
GIF, PNM and TIFF, to PNG files.
"
HOMEPAGE="http://optipng.sourceforge.net/"
SRC_URI="http://prdownloads.sourceforge.net/optipng/optipng-0.7.4.tar.gz"
CHECKSUM_MD5="8853d89aaf859065e95dcdf98b6bed73"
LICENSE="Zlib"
COPYRIGHT="2001-2012 Cosmin Truta"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
optipng$secondaryArchSuffix = $portVersion
cmd:optipng$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libpng
lib:libz
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libpng
devel:libz
"
BUILD_PREREQUIRES="
cmd:ar
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:ranlib
"
PATCHES="optipng-0.7.4.patchset"
BUILD()
{
./configure -bindir=$binDir -mandir=$manDir \
-with-system-libpng \
-with-system-zlib
make
}
INSTALL()
{
make install
}