2013-02-11 14:41:31 +01:00
|
|
|
# Template file for 'optipng'
|
|
|
|
pkgname=optipng
|
2014-03-29 16:54:04 +01:00
|
|
|
version=0.7.5
|
2014-06-08 12:15:44 +02:00
|
|
|
revision=2
|
2013-04-14 05:01:48 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2013-04-30 11:57:25 +02:00
|
|
|
makedepends="zlib-devel libpng-devel>=1.6"
|
2013-02-11 14:41:31 +01:00
|
|
|
short_desc="Advanced PNG Optimizer"
|
2014-06-08 12:15:44 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-11 14:41:31 +01:00
|
|
|
license="zlib"
|
|
|
|
homepage="http://optipng.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
2014-03-29 16:54:04 +01:00
|
|
|
checksum=74e54b798b012dff8993fb8d90185ca83f18cfa4935f4a93b0bcfc33c849619d
|
2013-04-14 05:01:48 +02:00
|
|
|
|
2013-04-30 21:39:19 +02:00
|
|
|
do_configure() {
|
|
|
|
./configure -prefix=/usr -mandir=/usr/share/man -with-system-libpng -with-system-zlib
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make LD="$CC" ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make LD="$CC" DESTDIR=$DESTDIR install
|
|
|
|
}
|