wok annotate cups-filters/receipt @ rev 24184
updated perl-class-singleton (1.5 -> 1.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:00:12 2021 +0100 (2021-12-31) |
parents | c0fe731d810e |
children | 2a0479881723 |
rev | line source |
---|---|
mojo@17841 | 1 # SliTaz package receipt. |
mojo@17841 | 2 |
mojo@17841 | 3 PACKAGE="cups-filters" |
psychomaniak@18210 | 4 VERSION="1.0.71" |
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" |
mojo@17841 | 9 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting" |
mojo@17841 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
mojo@17841 | 11 WGET_URL="http://www.openprinting.org/download/cups-filters/$TARBALL" |
pascal@18211 | 12 EXTRA_SOURCE_FILES="$PACKAGE-7371.u" |
pascal@18211 | 13 WGET_URL2="http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/diff/7371" |
mojo@17841 | 14 |
mojo@18284 | 15 DEPENDS="lcms poppler qpdf ghostscript gutenprint glib" |
al@19316 | 16 BUILD_DEPENDS="ijs-dev libpng-dev lcms-dev poppler-dev qpdf-dev dbus-dev \ |
al@19316 | 17 cups-dev gmp-dev zlib-dev jpeg-dev tiff-dev freetype-dev fontconfig-dev" |
mojo@17841 | 18 |
mojo@17841 | 19 # Rules to configure and make the package. |
mojo@17841 | 20 compile_rules() |
mojo@17841 | 21 { |
pascal@18211 | 22 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || |
pascal@18211 | 23 wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2 |
pascal@18211 | 24 patch -p0 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES |
psychomaniak@18210 | 25 |
Hans-G?nter@23217 | 26 sed -i '40i#include <cups/ppd.h>'\ |
Hans-G?nter@23217 | 27 cupsfilters/colormanager.h |
Hans-G?nter@23217 | 28 sed -i '37i#include <cups/ppd.h>'\ |
Hans-G?nter@23217 | 29 cupsfilters/colord.h |
Hans-G?nter@23218 | 30 sed -i '40i#include <cups/ppd.h>'\ |
Hans-G?nter@23218 | 31 cupsfilters/driver.h |
Hans-G?nter@23217 | 32 |
Hans-G?nter@23217 | 33 ./configure \ |
Hans-G?nter@23217 | 34 --prefix=/usr \ |
Hans-G?nter@23217 | 35 --sysconfdir=/etc \ |
al@19315 | 36 $CONFIGURE_ARGS && |
Hans-G?nter@23217 | 37 make && |
Hans-G?nter@23217 | 38 make install |
mojo@17841 | 39 } |
mojo@17841 | 40 |
mojo@17841 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@17841 | 42 genpkg_rules() |
mojo@17841 | 43 { |
Hans-G?nter@23217 | 44 mkdir -p $fs/usr/lib |
Hans-G?nter@23217 | 45 mkdir -p $fs/usr/share |
Hans-G?nter@23217 | 46 |
Hans-G?nter@23217 | 47 cp -a $install/etc $fs |
Hans-G?nter@23217 | 48 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23217 | 49 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@23217 | 50 cp -a $install/usr/lib/*so* $fs/usr/lib |
Hans-G?nter@23217 | 51 cp -a $install/usr/lib/cups $fs/usr/lib |
Hans-G?nter@23217 | 52 cp -a $install/usr/share/ppd $fs/usr/share |
Hans-G?nter@23217 | 53 cp -a $install/usr/share/cups $fs/usr/share |
Hans-G?nter@23217 | 54 rm -fr $fs/etc/rc*.d |
Hans-G?nter@23217 | 55 rm -fr $fs/usr/share/cups/ppdc |
mojo@17841 | 56 } |