void-packages/srcpkgs/libmng/template

36 lines
896 B
Text
Raw Normal View History

# Template build file for 'libmng'.
pkgname=libmng
version=1.0.10
revision=7
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() {
depends="libjpeg-turbo-devel zlib-devel lcms-devel libmng>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/share/man/man3
}
}
libmng_package() {
pkg_install() {
vmove usr
}
}