wok-stable diff hplip/receipt @ rev 11935

removed extensions from desktop files
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 29 20:31:31 2012 -0800 (2012-02-29)
parents c91552bc8307
children 2150e008d37f
line diff
     1.1 --- a/hplip/receipt	Wed Mar 30 10:42:27 2011 +0000
     1.2 +++ b/hplip/receipt	Wed Feb 29 20:31:31 2012 -0800
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="hplip"
     1.7 -VERSION="3.11.3" 
     1.8 +VERSION="3.12.2" 
     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 @@ -12,6 +12,7 @@
    1.13  WEB_SITE="http://hplipopensource.com"
    1.14  WGET_URL="http://downloads.sourceforge.net/sourceforge/hplip/$TARBALL"
    1.15  TAGS="printer driver printing"
    1.16 +BUGS="Unable to delete hplip.desktop from $fs.  Using hack in post_install."
    1.17  
    1.18  # Rules to configure and make the package. --prefix=/usr 
    1.19  compile_rules()
    1.20 @@ -28,7 +29,6 @@
    1.21  		$CONFIGURE_ARGS &&
    1.22  	make &&
    1.23  	make DESTDIR=$PWD/_pkg install
    1.24 -	
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 @@ -48,22 +48,20 @@
    1.29  		   $_pkg/usr/share/ppd \
    1.30  		   $fs/usr/share
    1.31  
    1.32 - # compress snon zipped ppd files
    1.33 -    find $fs/usr/share/ppd/HP -name "*.ppd" -exec gzip -n9 {} \;
    1.34 +	# compress non-zipped ppd files
    1.35 +	find $fs/usr/share/ppd/HP -name "*.ppd" -exec gzip -n9 {} \;
    1.36   
    1.37 -  # remove autostart of hp-daemon
    1.38 -  rm -rf $fs/etc/sane.d
    1.39 - # remove xdg
    1.40 - rm -rf $fs/etc/xdg
    1.41 +	# remove autostart of hp-daemon
    1.42 +	rm -rf $fs/etc/sane.d
    1.43   
    1.44 -
    1.45 -# remove .desktop file as we compiled without pyqt3 support
    1.46 -rm -rf $fs/usr/share/applications/*
    1.47 -
    1.48 -	
    1.49 +	# remove xdg
    1.50 +	rm -rf $fs/etc/xdg
    1.51  }
    1.52  
    1.53  post_install()
    1.54  {
    1.55 +	# remove the desktop file                                   
    1.56 +	rm $fs/usr/share/applications/hplip.desktop
    1.57 +	                
    1.58  	tazpkg reconfigure udev --root=$1
    1.59  }