36 lines
867 B
Bash
36 lines
867 B
Bash
# Template file for 'zimg'
|
|
pkgname=zimg
|
|
# 2.1 needs a patch to cross compile.
|
|
# Please remove on update
|
|
# https://github.com/sekrit-twc/zimg/issues/47
|
|
version=2.1
|
|
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=09093bbb4d73865362e1e346762a6efdc9acc3d2cab6a2ebf5f00ba5d90b17c3
|
|
|
|
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"
|
|
}
|
|
}
|