Files
haikuports/media-gfx/optipng/optipng-0.7.5.recipe

49 lines
1.1 KiB
Bash

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/"
COPYRIGHT="2001-2014 Cosmin Truta"
LICENSE="Zlib"
REVISION="1"
SOURCE_URI="http://downloads.sf.net/optipng/optipng-$portVersion.tar.gz"
CHECKSUM_SHA256="74e54b798b012dff8993fb8d90185ca83f18cfa4935f4a93b0bcfc33c849619d"
PATCHES="optipng-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
optipng$secondaryArchSuffix = $portVersion
cmd:optipng$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libpng
lib:libz
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libpng
devel:libz
"
BUILD_PREREQUIRES="
cmd:ar
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:ranlib
"
BUILD()
{
./configure -bindir=$binDir -mandir=$manDir \
-with-system-libpng \
-with-system-zlib
make
}
INSTALL()
{
make install
}