wok rev 10792

Up: tazpkg (4.7) - Big clean-up, removed old code, up doc and notification to use TazPanel and have now i18n working
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jun 02 04:26:35 2011 +0200 (2011-06-02)
parents 4e698344bda2
children 4157e9b1a778
files tazpkg/receipt
line diff
     1.1 --- a/tazpkg/receipt	Thu Jun 02 02:39:30 2011 +0200
     1.2 +++ b/tazpkg/receipt	Thu Jun 02 04:26:35 2011 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tazpkg"
     1.7 -VERSION="4.6.3"
     1.8 +VERSION="4.7"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz packages manager."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -22,13 +22,12 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 -	make DESTDIR=$PWD/_pkg install
    1.17 +	make && make DESTDIR=$PWD/_pkg install
    1.18  }
    1.19  
    1.20  genpkg_rules()
    1.21  {
    1.22 -	cp -a $_pkg/usr $fs
    1.23 -	cp -a $_pkg/etc $fs
    1.24 +	cp -a $install/* $fs
    1.25  	chown -R root.root $fs
    1.26  	# Default icon for mimetype (freedesktop standard compliant file
    1.27  	# manager will diplay a tazpkg icon for SliTaz packages).
    1.28 @@ -40,10 +39,10 @@
    1.29  
    1.30  post_install()
    1.31  {
    1.32 -	#Apply a fix to config file /etc/slitaz/slitaz.conf
    1.33 +	# Apply a fix to config file /etc/slitaz/slitaz.conf
    1.34  	[ -f /etc/slitaz/slitaz.conf ] && sed 's/LOCAL_STATE/LOCALSTATE/'\
    1.35  		-i /etc/slitaz/slitaz.conf
    1.36 -	# Make sure new confi is present
    1.37 +	# Make sure new config is present
    1.38  	if ! grep -q ^NOTIFY_GEOM "$root/etc/slitaz/tazpkg.conf"; then
    1.39  		cat >> "$root/etc/slitaz/tazpkg.conf" << "EOT"
    1.40  # The geometry of the desktop notification