-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
50 lines (44 loc) · 1.23 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Template file for 'libjpeg-turbo'
pkgname=libjpeg-turbo
version=3.0.1
revision=1
build_style=cmake
configure_args="-DWITH_JPEG8=1"
hostmakedepends="yasm"
short_desc="Derivative of libjpeg which uses SIMD instructions"
maintainer="Orphaned <orphan@voidlinux.org>"
license="IJG, BSD-3-Clause, Zlib"
homepage="https://libjpeg-turbo.org/"
changelog="https://raw.githubusercontent.com/libjpeg-turbo/libjpeg-turbo/main/ChangeLog.md"
distfiles="${SOURCEFORGE_SITE}/libjpeg-turbo/libjpeg-turbo-${version}.tar.gz"
checksum=22429507714ae147b3acacd299e82099fce5d9f456882fc28e252e4579ba2a75
provides="jpeg-8_1"
replaces="jpeg>=0"
post_install() {
vlicense LICENSE.md
vinstall jpegint.h 644 usr/include
vinstall transupp.h 644 usr/include
rm -r ${DESTDIR}/usr/share/doc \
${DESTDIR}/usr/bin/tjbench
}
libjpeg-turbo-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
provides="jpeg-devel-8_1"
replaces="jpeg-devel>=0"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}
libjpeg-turbo-tools_package() {
provides="jpeg-tools-8_1"
replaces="jpeg-tools>=0"
short_desc+=" - bundled tools"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}