void-packages/srcpkgs/zimg/template
maxice8 a6b7a93718 zimg: update to 2.7.
Closes: #10308 [via git-merge-pr]
2017-12-31 22:27:32 +01:00

32 lines
756 B
Bash

# Template file for 'zimg'
pkgname=zimg
version=2.7
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=afc15350bd0072a24dd0ed1eaae832ce606245e3c1f8edd81a81bb6f1bfdda2d
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"
}
}