vp-build/templates/mng.tmpl
Juan RP ac80ddda40 Use bash features to improve $distfiles parsing.
That means that it's not necessary anymore to use an '@' before the
extract suffix string. yay.

--HG--
extra : convert_revision : 83ce2c783cb917ef59b87eacb0565cfcff277218
2008-10-28 23:57:52 +01:00

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
}