void-packages/srcpkgs/libmng/template

28 lines
755 B
Bash

# Template file for 'libmng'
pkgname=libmng
version=2.0.3
revision=2
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.org>"
license="custom"
homepage="http://www.libmng.com"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=4a462fdd48d4bc82c1d7a21106c8a18b62f8cc0042454323058e6da0dbb57dd3
post_install() {
vlicense LICENSE
}
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
}
}