void-packages/srcpkgs/optipng/template
Michael Gehring c18d87f94e optipng: update to 0.7.6.
Fixes CVE-2016-2191
2016-04-05 00:34:11 +02:00

24 lines
630 B
Bash

# Template file for 'optipng'
pkgname=optipng
version=0.7.6
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=4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80
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
}