2016-04-07 15:06:31 +00:00
|
|
|
# Template file for 'zimg'
|
|
|
|
pkgname=zimg
|
2016-05-07 04:18:25 +00:00
|
|
|
# 2.1 needs a patch to cross compile.
|
|
|
|
# Please remove on update
|
|
|
|
# https://github.com/sekrit-twc/zimg/issues/47
|
2016-08-22 07:53:33 +00:00
|
|
|
version=2.2.1
|
2016-04-07 15:06:31 +00:00
|
|
|
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"
|
2016-05-02 09:06:39 +00:00
|
|
|
homepage="https://github.com/sekrit-twc/zimg"
|
2016-04-07 15:06:31 +00:00
|
|
|
distfiles="https://github.com/sekrit-twc/zimg/archive/release-${version}.tar.gz"
|
2016-08-22 07:53:33 +00:00
|
|
|
checksum=0ac3004f7612f91e2eda1aaaf170c2ceef4f90f881647b8e248f36b0e6954f54
|
2016-04-07 15:06:31 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|