25 lines
630 B
Bash
25 lines
630 B
Bash
# Template file for 'optipng'
|
|
pkgname=optipng
|
|
version=0.7.7
|
|
revision=1
|
|
hostmakedepends="pkg-config"
|
|
makedepends="zlib-devel libpng-devel"
|
|
short_desc="Advanced PNG Optimizer"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="zlib"
|
|
homepage="http://optipng.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452
|
|
|
|
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
|
|
}
|