-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
48 lines (44 loc) · 1.56 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
# Template file for 'libcupsfilters'
pkgname=libcupsfilters
version=2.0.0
revision=1
build_style=gnu-configure
configure_args="--disable-mutool
--with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf"
hostmakedepends="pkg-config ghostscript"
makedepends="cups-devel poppler-cpp-devel lcms2-devel libqpdf-devel
ghostscript-devel libexif-devel libjpeg-turbo-devel libpng-devel tiff-devel
fontconfig-devel"
depends="ghostscript"
checkdepends="dejavu-fonts-ttf"
short_desc="OpenPrinting CUPS Filters library"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="Apache-2.0 WITH custom:GPL2-LGPL2-Exception"
homepage="https://github.com/OpenPrinting/libcupsfilters"
changelog="https://raw.githubusercontent.com/OpenPrinting/libcupsfilters/master/CHANGES.md"
distfiles="https://github.com/OpenPrinting/libcupsfilters/releases/download/${version}/libcupsfilters-${version}.tar.xz"
checksum=542f2bfbc58136a4743c11dc8c86cee03c9aca705612654e36ac34aa0d9aa601
post_install() {
vlicense COPYING
}
libcupsfilters-devel_package() {
depends="${sourcepkg}>=${version}_${revision}
cups-devel tiff-devel libpng-devel libqpdf-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}
libcups-filters_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="${sourcepkg}>=${version}_${revision}"
}
libcups-filters-devel_package() {
build_style=meta
short_desc+=" - development files (transitional dummy package)"
depends="${sourcepkg}-devel>=${version}_${revision}"
}