wok-next annotate hplip/receipt @ rev 21080

Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 24 02:07:02 2018 +0200 (2018-12-24)
parents d5aab818505e
children
rev   line source
al@20534 1 # SliTaz package receipt v2.
jozee@2765 2
jozee@2765 3 PACKAGE="hplip"
al@20534 4 VERSION="3.12.11"
jozee@2765 5 CATEGORY="system-tools"
al@20534 6 SHORT_DESC="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and \
al@20534 7 some LaserJet"
al@21020 8 MAINTAINER="devel@slitaz.org"
pascal@15002 9 LICENSE="GPL2"
al@21020 10 WEB_SITE="https://developers.hp.com/hp-linux-imaging-and-printing"
al@20534 11
pascal@15002 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15002 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15002 14
al@20919 15 BUILD_DEPENDS="ghostscript-dev python-dbus-dev sane-backends-dev \
al@20513 16 sane-backends libexif-dev libgphoto2-dev Qt4-dev libgphoto2 libusb-dev \
al@20919 17 jpeg-dev cups-dev dbus-dev tiff-dev python python-dev python-dbus net-snmp-dev \
pascal@15628 18 libtool"
jozee@2765 19
al@20534 20 compile_rules() {
jozee@3470 21 ./configure \
jozee@2765 22 --disable-doc-build \
slaxemulator@14624 23 --enable-qt4 \
jozee@2765 24 $CONFIGURE_ARGS &&
jozee@2765 25 make &&
al@21020 26 make DESTDIR=$install install
jozee@2765 27 }
jozee@2765 28
al@20534 29 genpkg_rules() {
al@20534 30 copy @std
samuel_trassare@11762 31 # compress non-zipped ppd files
samuel_trassare@11762 32 find $fs/usr/share/ppd/HP -name "*.ppd" -exec gzip -n9 {} \;
slaxemulator@14624 33 # make sure hp-toolbox exist
al@20534 34 ln -sf ../share/hplip/toolbox.py $fs/usr/bin/hp-toolbox
samuel_trassare@11762 35 # remove autostart of hp-daemon
samuel_trassare@11762 36 rm -rf $fs/etc/sane.d
samuel_trassare@11762 37 # remove xdg
samuel_trassare@11762 38 rm -rf $fs/etc/xdg
al@21080 39 DEPENDS="ghostscript python cups python-dbus libusb jpeg libtiff \
al@20604 40 sane-backends libgphoto2 libexif gcc-lib-base libltdl v4l-utils net-snmp \
al@20994 41 pyqt"
al@20534 42 TAGS="printer driver printing"
jozee@2765 43 }
jozee@2765 44
al@20534 45 post_install() {
al@20534 46 tazpkg reconfigure eudev --root="$1"
pascal@3175 47 }