optipng: make this build again.
This commit is contained in:
parent
464e1c80ba
commit
74d327759b
1 changed files with 12 additions and 2 deletions
|
@ -2,8 +2,6 @@
|
||||||
pkgname=optipng
|
pkgname=optipng
|
||||||
version=0.7.4
|
version=0.7.4
|
||||||
revision=2
|
revision=2
|
||||||
build_style=configure
|
|
||||||
configure_args="-prefix=/usr -mandir=/usr/share/man -with-system-libpng -with-system-zlib"
|
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="zlib-devel libpng-devel>=1.6"
|
makedepends="zlib-devel libpng-devel>=1.6"
|
||||||
short_desc="Advanced PNG Optimizer"
|
short_desc="Advanced PNG Optimizer"
|
||||||
|
@ -13,6 +11,18 @@ homepage="http://optipng.sourceforge.net/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=520b5d5a9405dbdc5c905dd0cff87211e69c4ed2059744037510e613fe8237ff
|
checksum=520b5d5a9405dbdc5c905dd0cff87211e69c4ed2059744037510e613fe8237ff
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
optipng_package() {
|
optipng_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove all
|
vmove all
|
||||||
|
|
Loading…
Reference in a new issue