void-packages/srcpkgs/libmng/template

37 lines
918 B
Text
Raw Normal View History

# Template build file for 'libmng'.
pkgname=libmng
version=1.0.10
2013-11-16 08:00:19 +00:00
revision=8
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake libtool"
makedepends="libjpeg-turbo-devel zlib-devel lcms-devel"
short_desc="Multiple-image Network Graphics (MNG) reference library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.libmng.com"
license="BSD"
distfiles="http://www.libmng.com/download/libmng-$version.tar.bz2"
checksum=7b1477816c54b4d8ee0690c583982637910a1801ece0b0831e03fd07882e8118
2012-05-23 09:54:45 +00:00
pre_configure() {
ln -s makefiles/configure.in .
ln -s makefiles/Makefile.am .
2012-05-23 09:54:45 +00:00
autoreconf -fi
}
libmng-devel_package() {
2013-11-16 08:00:19 +00:00
depends="libjpeg-turbo-devel zlib-devel lcms-devel libmng>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/man/man3
2013-11-16 08:00:19 +00:00
vmove "usr/lib/*.so"
}
}
libmng_package() {
pkg_install() {
2013-11-16 08:00:19 +00:00
vmove all
}
}