wok-next view hplip/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 10df65db91ad
children a00b398faf9e
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="jozee@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://hplipopensource.com"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="ghostscript-dev dbus-python-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 dbus-python net-snmp-dev \
18 libtool"
20 BUGS="Unable to delete hplip.desktop from $fs. Using hack in post_install."
22 compile_rules() {
23 ./configure \
24 --disable-doc-build \
25 --enable-qt4 \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 genpkg_rules() {
32 copy @std
33 # compress non-zipped ppd files
34 find $fs/usr/share/ppd/HP -name "*.ppd" -exec gzip -n9 {} \;
35 # make sure hp-toolbox exist
36 ln -sf ../share/hplip/toolbox.py $fs/usr/bin/hp-toolbox
37 # remove autostart of hp-daemon
38 rm -rf $fs/etc/sane.d
39 # remove xdg
40 rm -rf $fs/etc/xdg
41 DEPENDS="ghostscript python cups dbus-python libusb jpeg tiff \
42 sane-backends libgphoto2 libexif gcc-lib-base libltdl v4l-utils net-snmp \
43 PyQt-x11-gpl"
44 TAGS="printer driver printing"
45 }
47 post_install() {
48 tazpkg reconfigure eudev --root="$1"
49 }