-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
36 lines (32 loc) · 888 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Template file for 'zimg'
pkgname=zimg
version=3.0.5
revision=1
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"
changelog="https://raw.githubusercontent.com/sekrit-twc/zimg/master/ChangeLog"
distfiles="https://github.com/sekrit-twc/zimg/archive/release-${version}.tar.gz"
checksum=a9a0226bf85e0d83c41a8ebe4e3e690e1348682f6a2a7838f1b8cbff1b799bcf
case "$XBPS_TARGET_MACHINE" in
armv7*) configure_args+=" --disable-simd";;
esac
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"
}
}