wok-next annotate cups-filters/receipt @ rev 20834

prosody: interesting, requires lua 5.1, and not 5.3
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Jun 17 19:14:11 2018 +0000 (2018-06-17)
parents 757d032c55c7
children d5aab818505e
rev   line source
al@20464 1 # SliTaz package receipt v2.
mojo@17841 2
mojo@17841 3 PACKAGE="cups-filters"
al@19681 4 VERSION="1.11.1"
mojo@17841 5 CATEGORY="system-tools"
mojo@17841 6 SHORT_DESC="OpenPrinting CUPS Filters"
mojo@17841 7 MAINTAINER="mojo@slitaz.org"
mojo@17841 8 LICENSE="GPL"
al@19681 9 WEB_SITE="https://wiki.linuxfoundation.org/openprinting/start"
al@19681 10
mojo@17841 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19681 12 WGET_URL="https://www.openprinting.org/download/cups-filters/$TARBALL"
mojo@17841 13
al@20464 14 BUILD_DEPENDS="cups-dev zlib-dev libjpeg-turbo-dev libpng16-dev tiff-dev \
al@20464 15 glib-dev lcms2-dev freetype-dev fontconfig-dev ijs-dev qpdf-dev poppler-dev \
al@20464 16 dbus-dev"
al@20464 17 SPLIT="cups-filters-dev"
mojo@17841 18
al@20464 19 compile_rules() {
mojo@17841 20 ./configure \
al@19681 21 --without-rcdir \
al@19681 22 --disable-static \
al@19681 23 --disable-avahi \
al@19681 24 --with-gs-path=/usr/bin/gs \
al@19681 25 --with-pdftops-path=/usr/bin/gs \
al@19315 26 $CONFIGURE_ARGS &&
al@20569 27 fix libtool &&
al@20534 28 make &&
al@20534 29 make install
mojo@17841 30 }
mojo@17841 31
al@20464 32 genpkg_rules() {
al@20464 33 case $PACKAGE in
al@20464 34 cups-filters)
al@20534 35 copy @std
al@20464 36 DEPENDS="cups dbus fontconfig freetype glib ijs lcms2 libcups \
al@20464 37 libgnutls libjpeg-turbo libpng16 poppler qpdf tiff zlib"
al@20464 38 ;;
al@20464 39 *-dev)
al@20534 40 copy @dev
al@20464 41 ;;
al@20464 42 esac
mojo@17841 43 }