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