26 lines
682 B
Bash
26 lines
682 B
Bash
# Template file for 'optipng'
|
|
pkgname=optipng
|
|
version=0.7.8
|
|
revision=1
|
|
hostmakedepends="pkg-config"
|
|
makedepends="zlib-devel libpng-devel"
|
|
short_desc="Advanced PNG Optimizer"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Zlib"
|
|
homepage="https://optipng.sourceforge.net/"
|
|
changelog="https://optipng.sourceforge.net/history.txt"
|
|
distfiles="${SOURCEFORGE_SITE}/optipng/optipng-${version}.tar.gz"
|
|
checksum=25a3bd68481f21502ccaa0f4c13f84dcf6b20338e4c4e8c51f2cefbd8513398c
|
|
|
|
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
|
|
}
|