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

Up wireshark (2.0.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 21 14:15:15 2015 +0100 (2015-11-21)
parents 1077d0ba3616
children 42e0165c64b9
line source
1 # SliTaz package receipt.
3 PACKAGE="cups-filters"
4 VERSION="1.0.71"
5 CATEGORY="system-tools"
6 SHORT_DESC="OpenPrinting CUPS Filters"
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="http://www.openprinting.org/download/cups-filters/$TARBALL"
12 EXTRA_SOURCE_FILES="$PACKAGE-7371.u"
13 WGET_URL2="http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/diff/7371"
15 DEPENDS="lcms poppler qpdf ghostscript gutenprint glib"
16 BUILD_DEPENDS="ijs-dev libpng-dev lcms-dev poppler-dev \
17 qpdf-dev dbus-dev cups-dev gmp-dev zlib-dev jpeg-dev tiff-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] ||
23 wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
24 patch -p0 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $install/etc $fs
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/usr/lib/*so* $fs/usr/lib
41 cp -a $install/usr/lib/cups $fs/usr/lib
42 cp -a $install/usr/share/ppd $fs/usr/share
43 cp -a $install/usr/share/cups $fs/usr/share
44 rm -fr $fs/etc/rc*.d
45 rm -fr $fs/usr/share/cups/ppdc
46 }