mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
54 lines
1.1 KiB
Plaintext
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
|
|
}
|