2013-02-11 13:41:31 +00:00
|
|
|
# Template file for 'optipng'
|
|
|
|
pkgname=optipng
|
|
|
|
version=0.7.4
|
2013-04-30 09:57:25 +00:00
|
|
|
revision=2
|
2013-04-14 03:01:48 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2013-04-30 09:57:25 +00:00
|
|
|
makedepends="zlib-devel libpng-devel>=1.6"
|
2013-02-11 13:41:31 +00:00
|
|
|
short_desc="Advanced PNG Optimizer"
|
|
|
|
maintainer="pancake <pancake@nopcode.org>"
|
|
|
|
license="zlib"
|
|
|
|
homepage="http://optipng.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=520b5d5a9405dbdc5c905dd0cff87211e69c4ed2059744037510e613fe8237ff
|
2013-04-14 03:01:48 +00:00
|
|
|
|
2013-04-30 19:39:19 +00: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
|
|
|
|
}
|
|
|
|
|
2013-04-14 03:01:48 +00:00
|
|
|
optipng_package() {
|
|
|
|
pkg_install() {
|
2013-04-30 09:57:25 +00:00
|
|
|
vmove all
|
2013-04-14 03:01:48 +00:00
|
|
|
}
|
|
|
|
}
|