wok-next view cups-filters/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents dd145c435e4b
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cups-filters"
4 VERSION="1.11.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="OpenPrinting CUPS Filters"
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://wiki.linuxfoundation.org/openprinting/start"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://www.openprinting.org/download/cups-filters/$TARBALL"
14 BUILD_DEPENDS="cups-dev zlib-dev libjpeg-turbo-dev libpng16-dev tiff-dev \
15 glib-dev lcms2-dev freetype-dev fontconfig-dev ijs-dev qpdf-dev poppler-dev \
16 dbus-dev"
17 SPLIT="cups-filters-dev"
19 compile_rules() {
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --without-rcdir \
24 --disable-static \
25 --disable-avahi \
26 --with-gs-path=/usr/bin/gs \
27 --with-pdftops-path=/usr/bin/gs \
28 --docdir=/usr/share/doc/cups-filters-$VERSION \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 cups-filters)
36 copy etc/ bin/ sbin/ cups/ ppd/ *.so*
37 # rm -rf $fs/usr/share/cups/ppdc
38 DEPENDS="cups dbus fontconfig freetype glib ijs lcms2 libcups \
39 libgnutls libjpeg-turbo libpng16 poppler qpdf tiff zlib"
40 ;;
41 *-dev)
42 copy *.h *.la *.pc
43 ;;
44 esac
45 }