wok diff slitaz-tools/receipt @ rev 2094

slitaz-tools*: split GTK boxes+ accord DEPENDS so we can use tools in base flavor
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 28 18:59:11 2009 +0100 (2009-01-28)
parents b082b30a05bd
children 1d608720cb52
line diff
     1.1 --- a/slitaz-tools/receipt	Wed Dec 31 00:35:18 2008 +0100
     1.2 +++ b/slitaz-tools/receipt	Wed Jan 28 18:59:11 2009 +0100
     1.3 @@ -3,9 +3,10 @@
     1.4  PACKAGE="slitaz-tools"
     1.5  VERSION="2.8.1"
     1.6  CATEGORY="system-tools"
     1.7 -SHORT_DESC="SliTaz tools provide installer and Tinyutils."
     1.8 +SHORT_DESC="SliTaz tools provide installer and utils usable on termnial."
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10 -DEPENDS="slitaz-boot-scripts dialog gtkdialog"
    1.11 +DEPENDS="slitaz-boot-scripts dialog"
    1.12 +SUGGESTED="slitaz-tools-boxes"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WEB_SITE="http://www.slitaz.org/"
    1.15  WGET_URL="http://mirror.slitaz.org/sources/tools/$TARBALL"
    1.16 @@ -31,9 +32,7 @@
    1.17  		$fs/usr/sbin \
    1.18  		$fs/etc/X11 \
    1.19  		$fs/var/spool/cron/crontabs \
    1.20 -		$fs/usr/lib/slitaz \
    1.21  		$fs/usr/share/doc/slitaz-tools \
    1.22 -		$fs/usr/share/slitaz-tools/glade \
    1.23  		$fs/usr/share/slitaz-tools/installer
    1.24  
    1.25  	# /rootfs/*. Firewall exemples, licenses, pixmaps and desktop files.
    1.26 @@ -55,20 +54,6 @@
    1.27  	# Sound config
    1.28  	cp -a $src/tinyutils/soundconf $fs/usr/sbin
    1.29  	cp -a $src/tinyutils/setmixer $fs/usr/sbin
    1.30 -	
    1.31 -	# Gtkdialog boxes
    1.32 -	cp -a $src/tinyutils/bootfloppybox $fs/usr/bin
    1.33 -	cp -a $src/tinyutils/burnbox $fs/usr/bin
    1.34 -	cp -a $src/tinyutils/mountbox $fs/usr/bin
    1.35 -	cp -a $src/tinyutils/netbox $fs/usr/bin
    1.36 -	cp -a $src/tinyutils/scpbox $fs/usr/bin
    1.37 -	cp -a $src/tinyutils/subox $fs/usr/bin
    1.38 -	cp -a $src/tinyutils/desktopbox $fs/usr/bin
    1.39 -	cp -a $src/tinyutils/tazctrlbox $fs/usr/sbin
    1.40 -
    1.41 -	# Libs and Glade XML files.
    1.42 -	cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz
    1.43 -	cp -a $src/glade/*.glade $fs/usr/share/slitaz-tools/glade
    1.44  
    1.45  	# Installer's
    1.46  	cp -a $src/installer/slitaz-installer $fs/usr/bin
    1.47 @@ -77,11 +62,6 @@
    1.48  	# Tools doc in /usr/share/doc/slitaz-tools
    1.49  	cp $src/doc/* $fs/usr/share/doc/slitaz-tools
    1.50  
    1.51 -	# Gksu fake for pcmanfm
    1.52 -	cd $fs/usr/bin
    1.53 -	ln -s subox gksu
    1.54 -	cd $WOK/$PACKAGE
    1.55 -
    1.56  	chown -R root.root $fs
    1.57  	chmod -R 755 $fs/usr/bin
    1.58  	chmod -R 755 $fs/sbin
    1.59 @@ -110,4 +90,8 @@
    1.60  	mv -f $root/etc/X11/screen.conf.bak $root/etc/X11/screen.conf 2>/dev/null
    1.61  	mv -f $root/etc/locale.conf.bak $root/etc/locale.conf 2>/dev/null
    1.62  	mv -f $root/etc/firewall.conf.bak $root/etc/firewall.conf 2>/dev/null
    1.63 +	# Install boxes package if old slitaz-tools
    1.64 +	if [ -f $root/usr/bin/mountbox ] && [ ! -d /var/lib/tazpkg/installed/slitaz-tools-boxes ]; then
    1.65 +		tazpkg get-install slitaz-
    1.66 +	fi
    1.67  }