wok-current annotate cups-filters/receipt @ rev 19316
Fix build: clamtk, cpu-g, cups-filters.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 12 15:17:10 2016 +0300 (2016-07-12) |
parents | 42e0165c64b9 |
children | c0fe731d810e |
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 |
mojo@17841 | 26 ./configure \ |
al@19315 | 27 --prefix=/usr \ |
al@19315 | 28 --sysconfdir=/etc \ |
al@19315 | 29 $CONFIGURE_ARGS && |
al@19315 | 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 { |
al@19315 | 36 mkdir -p $fs/usr/lib $fs/usr/share |
al@19315 | 37 cp -a $install/etc $fs |
al@19315 | 38 cp -a $install/usr/bin $fs/usr |
al@19315 | 39 cp -a $install/usr/sbin $fs/usr |
al@19315 | 40 cp -a $install/usr/lib/*so* $fs/usr/lib |
al@19315 | 41 cp -a $install/usr/lib/cups $fs/usr/lib |
al@19315 | 42 cp -a $install/usr/share/ppd $fs/usr/share |
al@19315 | 43 cp -a $install/usr/share/cups $fs/usr/share |
al@19315 | 44 rm -fr $fs/etc/rc*.d |
al@19315 | 45 rm -fr $fs/usr/share/cups/ppdc |
mojo@17841 | 46 } |