wok view cups-filters/receipt @ rev 23490
updated python-geojson (1.0 -> 2.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 05 17:38:13 2020 +0100 (2020-04-05) |
parents | c0fe731d810e |
children | 2a0479881723 |
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 qpdf-dev dbus-dev \
17 cups-dev gmp-dev zlib-dev jpeg-dev tiff-dev freetype-dev fontconfig-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 sed -i '40i#include <cups/ppd.h>'\
27 cupsfilters/colormanager.h
28 sed -i '37i#include <cups/ppd.h>'\
29 cupsfilters/colord.h
30 sed -i '40i#include <cups/ppd.h>'\
31 cupsfilters/driver.h
33 ./configure \
34 --prefix=/usr \
35 --sysconfdir=/etc \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 mkdir -p $fs/usr/share
47 cp -a $install/etc $fs
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/sbin $fs/usr
50 cp -a $install/usr/lib/*so* $fs/usr/lib
51 cp -a $install/usr/lib/cups $fs/usr/lib
52 cp -a $install/usr/share/ppd $fs/usr/share
53 cp -a $install/usr/share/cups $fs/usr/share
54 rm -fr $fs/etc/rc*.d
55 rm -fr $fs/usr/share/cups/ppdc
56 }