void-packages/srcpkgs/zimg/template
2017-01-30 09:49:03 +00:00

32 lines
756 B
Bash

# Template file for 'zimg'
pkgname=zimg
version=2.4
revision=1
wrksrc=zimg-release-${version}
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
short_desc="Image processing library"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="WTFPL"
homepage="https://github.com/sekrit-twc/zimg"
distfiles="https://github.com/sekrit-twc/zimg/archive/release-${version}.tar.gz"
checksum=996ea0e446df6ff4d6cb9c04a77d60978eca47c32d3785cd63fe8c29a9523d1f
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
}
zimg-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}