wok diff hplip/receipt @ rev 3980

Upgrade: libsoup (2.27.4 to 2.27.91)
author Matthew Sheets <rcx@zoominternet.net>
date Thu Aug 27 11:19:09 2009 +0000 (2009-08-27)
parents f25b1712883d
children 26631d3b1e16
line diff
     1.1 --- a/hplip/receipt	Mon May 25 13:26:29 2009 +0200
     1.2 +++ b/hplip/receipt	Thu Aug 27 11:19:09 2009 +0000
     1.3 @@ -1,21 +1,29 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="hplip"
     1.7 -VERSION="3.9.2" 
     1.8 +VERSION="3.9.4b" 
     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"
    1.14 +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.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WEB_SITE="http://hplipopensource.com"
    1.17  WGET_URL="http://downloads.sourceforge.net/sourceforge/hplip/$TARBALL"
    1.18  
    1.19 -# Rules to configure and make the package.
    1.20 +# Rules to configure and make the package. --prefix=/usr \
    1.21  compile_rules()
    1.22  {
    1.23  	cd $src
    1.24 -	./configure \
    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  		--disable-network-build \
    1.37 @@ -46,9 +54,8 @@
    1.38  		   $_pkg/usr/share/ppd \
    1.39  		   $fs/usr/share
    1.40  
    1.41 -	
    1.42 -	 # remove non zipped ppd files
    1.43 - rm -rf $fs/usr/share/ppd/HP/*.ppd
    1.44 + # compress snon zipped ppd files
    1.45 +    find $fs/usr/share/ppd/HP -name "*.ppd" | xargs gzip -n9
    1.46   
    1.47    # remove autostart of hp-daemon
    1.48    rm -rf $fs/etc/sane.d