2015-12-05 18:59:11 +00:00
|
|
|
# Template file for 'pngcrush'
|
|
|
|
pkgname=pngcrush
|
2016-01-04 13:06:47 +00:00
|
|
|
version=1.7.92
|
2015-12-05 18:59:11 +00:00
|
|
|
revision=1
|
|
|
|
wrksrc=${pkgname}-${version}-nolib
|
|
|
|
makedepends="libpng-devel"
|
|
|
|
short_desc="Tool for optimizing the compression of PNG files"
|
|
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
2015-12-05 19:00:21 +00:00
|
|
|
license="zlib"
|
2015-12-05 18:59:11 +00:00
|
|
|
homepage="http://pmt.sourceforge.net/pngcrush"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/pmt/${pkgname}-${version}-nolib.tar.xz"
|
2016-01-04 13:06:47 +00:00
|
|
|
checksum=c49b4b13c646029b6ead77ed60626be52c5fa61d74428cdebe0ca43d195e9c36
|
2015-12-05 18:59:11 +00:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make CC="$CC" LD="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
sed -n 10,160p pngcrush.c > LICENSE
|
|
|
|
vlicense LICENSE
|
|
|
|
make DESTDIR="$DESTDIR" install
|
|
|
|
}
|