wok-next annotate cups-filters/receipt @ rev 19189
xcompmgr: add shadows patch
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Jun 05 02:33:03 2016 +0200 (2016-06-05) |
parents | 1077d0ba3616 |
children | 42e0165c64b9 |
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" |
mojo@17841 | 16 BUILD_DEPENDS="ijs-dev libpng-dev lcms-dev poppler-dev \ |
mojo@17843 | 17 qpdf-dev dbus-dev cups-dev gmp-dev zlib-dev jpeg-dev tiff-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 |
mojo@17841 | 26 ./configure \ |
mojo@17841 | 27 --prefix=/usr \ |
mojo@17841 | 28 --sysconfdir=/etc \ |
mojo@17841 | 29 $CONFIGURE_ARGS && |
mojo@17841 | 30 make && make install |
mojo@17841 | 31 } |
mojo@17841 | 32 |
mojo@17841 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@17841 | 34 genpkg_rules() |
mojo@17841 | 35 { |
mojo@17843 | 36 mkdir -p $fs/usr/lib $fs/usr/share |
mojo@17843 | 37 cp -a $install/etc $fs |
mojo@17843 | 38 cp -a $install/usr/bin $fs/usr |
mojo@17843 | 39 cp -a $install/usr/sbin $fs/usr |
mojo@17843 | 40 cp -a $install/usr/lib/*so* $fs/usr/lib |
mojo@17843 | 41 cp -a $install/usr/lib/cups $fs/usr/lib |
mojo@17843 | 42 cp -a $install/usr/share/ppd $fs/usr/share |
mojo@17843 | 43 cp -a $install/usr/share/cups $fs/usr/share |
mojo@17843 | 44 rm -fr $fs/etc/rc*.d |
mojo@17843 | 45 rm -fr $fs/usr/share/cups/ppdc |
mojo@17841 | 46 } |
psychomaniak@18209 | 47 |