void-packages/srcpkgs/libmng/template

24 lines
720 B
Bash

# Template build file for 'libmng'.
pkgname=libmng
version=2.0.2
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.eu>"
homepage="http://www.libmng.com"
license="BSD"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=278c04c781e5a679c91df006fee7e71233e6f15557aef513a19fe49cd650bc50
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
}
}