void-packages/templates/mng.tmpl

28 lines
924 B
Cheetah

# Template build file for 'mng'.
pkgname=mng
version=1.0.10
wrksrc="libmng-$version"
distfiles="http://www.libmng.com/download/libmng-$version.tar.bz2"
build_style=gnu_configure
make_cmd="$XBPS_MASTERDIR/bin/gmake"
short_desc="Multiple-image Network Graphics (MNG) reference library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=4a8168f2f1fcfd147e367782c7a664bfe5104fc6
long_desc="
The libmng library supports decoding, displaying, encoding, and various other
manipulations of Multiple-image Network Graphics (MNG) format image files. It
uses the zlib(3) compression library, and optionally the JPEG library by the
Independent JPEG Group (IJG) and/or lcms (little CMS), a color-management
library by Marti Maria Saguar."
pre_configure()
{
# Automake'ify MNG.
cd $wrksrc && \
$ln_cmd -sf makefiles/configure.in . && \
$ln_cmd -sf makefiles/Makefile.am .
. $XBPS_TMPLHELPDIR/automake.sh
}