wok view cups-filters/receipt @ rev 21389
updated lv2 (1.0.0 -> 1.16.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 22 14:59:06 2019 +0100 (2019-04-22) |
parents | 42e0165c64b9 |
children | c0fe731d810e |
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 ./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 }