wok diff hplip/receipt @ rev 4600

Up: python-xdg (0.18)
author Paul Issott <paul@slitaz.org>
date Sun Dec 13 19:19:50 2009 +0000 (2009-12-13)
parents 9bb77afebf85
children c6ccd6bc43b1
line diff
     1.1 --- a/hplip/receipt	Tue Jun 16 14:48:22 2009 +0000
     1.2 +++ b/hplip/receipt	Sun Dec 13 19:19:50 2009 +0000
     1.3 @@ -1,28 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="hplip"
     1.7 -VERSION="3.9.4b" 
     1.8 +VERSION="3.9.10" 
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
    1.11  MAINTAINER="jozee@slitaz.org"
    1.12 -DEPENDS="ghostscript python cups dbus-python libusb jpeg tiff sane-backends"
    1.13 -BUILD_DEPENDS="ghostscript-dev dbus-python-dev sane-backends-dev sane-backends pkg-config libusb-dev jpeg-dev cups-dev dbus-dev tiff-dev python python-dev dbus-python"
    1.14 +DEPENDS="ghostscript python cups dbus-python libusb jpeg tiff sane-backends libgphoto2 libexif"
    1.15 +BUILD_DEPENDS="ghostscript-dev dbus-python-dev sane-backends-dev sane-backends libexif-dev libgphoto2-dev libgphoto2 pkg-config libusb-dev jpeg-dev cups-dev dbus-dev tiff-dev python python-dev dbus-python"
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WEB_SITE="http://hplipopensource.com"
    1.18  WGET_URL="http://downloads.sourceforge.net/sourceforge/hplip/$TARBALL"
    1.19  
    1.20 -# Rules to configure and make the package. --prefix=/usr \
    1.21 +# Rules to configure and make the package. --prefix=/usr 
    1.22  compile_rules()
    1.23  {
    1.24  	cd $src
    1.25 -	while read file; do
    1.26 -    	[ -f done.$file ] && continue
    1.27 -    	echo "Apply $file..."
    1.28 -    	patch -p0 < ../stuff/$PACKAGE-$VERSION-$file || return 1
    1.29 -	touch done.$file
    1.30 -    done <<EOT
    1.31 -	glibc210.u
    1.32 -EOT
    1.33  	./configure  \
    1.34  		--prefix=/usr \
    1.35  		--sysconfdir=/etc \
    1.36 @@ -62,12 +54,6 @@
    1.37   # remove xdg
    1.38   rm -rf $fs/etc/xdg
    1.39   
    1.40 - # move udev rules to /lib/udev/rules.d
    1.41 - mkdir -p $fs/lib/udev/rules.d
    1.42 - mv $fs/etc/udev/rules.d/* $fs/lib/udev/rules.d/
    1.43 - rm -rf $fs/etc/udev
    1.44 - # remove lp user, it's not used in slitaz
    1.45 - sed -i 's|OWNER="lp", ||g' $fs/lib/udev/rules.d/55-hpmud.rules
    1.46  
    1.47  # remove .desktop file as we compiled without pyqt3 support
    1.48  rm -rf $fs/usr/share/applications/*