wok-4.x 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 | 2c6a67bd03cd |
children | 0feff7f97d63 |
files | slitaz-tools-boxes/receipt slitaz-tools/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slitaz-tools-boxes/receipt Wed Jan 28 18:59:11 2009 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="slitaz-tools-boxes" 1.7 +VERSION="2.8.1" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="All SliTaz GTKdialog boxes to command line tools." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="slitaz-tools gtkdialog" 1.12 +WANTED="slitaz-tools" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.slitaz.org/" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p \ 1.20 + $fs/usr/bin \ 1.21 + $fs/usr/lib/slitaz \ 1.22 + $fs/usr/share/slitaz-tools/glade 1.23 + 1.24 + # Gtkdialog boxes 1.25 + cp -a $src/tinyutils/bootfloppybox $fs/usr/bin 1.26 + cp -a $src/tinyutils/burnbox $fs/usr/bin 1.27 + cp -a $src/tinyutils/mountbox $fs/usr/bin 1.28 + cp -a $src/tinyutils/netbox $fs/usr/bin 1.29 + cp -a $src/tinyutils/scpbox $fs/usr/bin 1.30 + cp -a $src/tinyutils/subox $fs/usr/bin 1.31 + cp -a $src/tinyutils/desktopbox $fs/usr/bin 1.32 + cp -a $src/tinyutils/tazctrlbox $fs/usr/sbin 1.33 + 1.34 + # Libs and Glade XML files. 1.35 + cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz 1.36 + cp -a $src/glade/*.glade $fs/usr/share/slitaz-tools/glade 1.37 + 1.38 + # Gksu fake for pcmanfm 1.39 + cd $fs/usr/bin 1.40 + ln -s subox gksu 1.41 + cd $WOK/$PACKAGE 1.42 + 1.43 + chown -R root.root $fs 1.44 + chmod -R 755 $fs/usr/bin 1.45 +}
2.1 --- a/slitaz-tools/receipt Wed Jan 28 18:57:20 2009 +0100 2.2 +++ b/slitaz-tools/receipt Wed Jan 28 18:59:11 2009 +0100 2.3 @@ -3,9 +3,10 @@ 2.4 PACKAGE="slitaz-tools" 2.5 VERSION="2.8.1" 2.6 CATEGORY="system-tools" 2.7 -SHORT_DESC="SliTaz tools provide installer and Tinyutils." 2.8 +SHORT_DESC="SliTaz tools provide installer and utils usable on termnial." 2.9 MAINTAINER="pankso@slitaz.org" 2.10 -DEPENDS="slitaz-boot-scripts dialog gtkdialog" 2.11 +DEPENDS="slitaz-boot-scripts dialog" 2.12 +SUGGESTED="slitaz-tools-boxes" 2.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 WEB_SITE="http://www.slitaz.org/" 2.15 WGET_URL="http://mirror.slitaz.org/sources/tools/$TARBALL" 2.16 @@ -31,9 +32,7 @@ 2.17 $fs/usr/sbin \ 2.18 $fs/etc/X11 \ 2.19 $fs/var/spool/cron/crontabs \ 2.20 - $fs/usr/lib/slitaz \ 2.21 $fs/usr/share/doc/slitaz-tools \ 2.22 - $fs/usr/share/slitaz-tools/glade \ 2.23 $fs/usr/share/slitaz-tools/installer 2.24 2.25 # /rootfs/*. Firewall exemples, licenses, pixmaps and desktop files. 2.26 @@ -55,20 +54,6 @@ 2.27 # Sound config 2.28 cp -a $src/tinyutils/soundconf $fs/usr/sbin 2.29 cp -a $src/tinyutils/setmixer $fs/usr/sbin 2.30 - 2.31 - # Gtkdialog boxes 2.32 - cp -a $src/tinyutils/bootfloppybox $fs/usr/bin 2.33 - cp -a $src/tinyutils/burnbox $fs/usr/bin 2.34 - cp -a $src/tinyutils/mountbox $fs/usr/bin 2.35 - cp -a $src/tinyutils/netbox $fs/usr/bin 2.36 - cp -a $src/tinyutils/scpbox $fs/usr/bin 2.37 - cp -a $src/tinyutils/subox $fs/usr/bin 2.38 - cp -a $src/tinyutils/desktopbox $fs/usr/bin 2.39 - cp -a $src/tinyutils/tazctrlbox $fs/usr/sbin 2.40 - 2.41 - # Libs and Glade XML files. 2.42 - cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz 2.43 - cp -a $src/glade/*.glade $fs/usr/share/slitaz-tools/glade 2.44 2.45 # Installer's 2.46 cp -a $src/installer/slitaz-installer $fs/usr/bin 2.47 @@ -77,11 +62,6 @@ 2.48 # Tools doc in /usr/share/doc/slitaz-tools 2.49 cp $src/doc/* $fs/usr/share/doc/slitaz-tools 2.50 2.51 - # Gksu fake for pcmanfm 2.52 - cd $fs/usr/bin 2.53 - ln -s subox gksu 2.54 - cd $WOK/$PACKAGE 2.55 - 2.56 chown -R root.root $fs 2.57 chmod -R 755 $fs/usr/bin 2.58 chmod -R 755 $fs/sbin 2.59 @@ -110,4 +90,8 @@ 2.60 mv -f $root/etc/X11/screen.conf.bak $root/etc/X11/screen.conf 2>/dev/null 2.61 mv -f $root/etc/locale.conf.bak $root/etc/locale.conf 2>/dev/null 2.62 mv -f $root/etc/firewall.conf.bak $root/etc/firewall.conf 2>/dev/null 2.63 + # Install boxes package if old slitaz-tools 2.64 + if [ -f $root/usr/bin/mountbox ] && [ ! -d /var/lib/tazpkg/installed/slitaz-tools-boxes ]; then 2.65 + tazpkg get-install slitaz- 2.66 + fi 2.67 }