33 lines
758 B
Bash
33 lines
758 B
Bash
# Template file for 'zimg'
|
|
pkgname=zimg
|
|
version=2.9.3
|
|
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=a15c0483fbe945ffe695a1a989bc43b3381c8bf33e2d1760464ec21d32cdf30b
|
|
|
|
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"
|
|
}
|
|
}
|