void-packages/srcpkgs/libmng/template
2015-04-22 07:33:10 +02:00

24 lines
720 B
Bash

# Template build file for 'libmng'.
pkgname=libmng
version=2.0.3
revision=1
build_style=gnu-configure
makedepends="libjpeg-turbo-devel zlib-devel lcms2-devel"
short_desc="Multiple-image Network Graphics (MNG) reference library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.libmng.com"
license="BSD"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=4a462fdd48d4bc82c1d7a21106c8a18b62f8cc0042454323058e6da0dbb57dd3
libmng-devel_package() {
depends="${makedepends} libmng>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/man/man3
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}