wok annotate slitaz-tools-boxes/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
children 6118540015bd
rev   line source
pankso@2094 1 # SliTaz package receipt.
pankso@2094 2
pankso@2094 3 PACKAGE="slitaz-tools-boxes"
pankso@2094 4 VERSION="2.8.1"
pankso@2094 5 CATEGORY="system-tools"
pankso@2094 6 SHORT_DESC="All SliTaz GTKdialog boxes to command line tools."
pankso@2094 7 MAINTAINER="pankso@slitaz.org"
pankso@2094 8 DEPENDS="slitaz-tools gtkdialog"
pankso@2094 9 WANTED="slitaz-tools"
pankso@2094 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@2094 11 WEB_SITE="http://www.slitaz.org/"
pankso@2094 12
pankso@2094 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2094 14 genpkg_rules()
pankso@2094 15 {
pankso@2094 16 mkdir -p \
pankso@2094 17 $fs/usr/bin \
pankso@2094 18 $fs/usr/lib/slitaz \
pankso@2094 19 $fs/usr/share/slitaz-tools/glade
pankso@2094 20
pankso@2094 21 # Gtkdialog boxes
pankso@2094 22 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin
pankso@2094 23 cp -a $src/tinyutils/burnbox $fs/usr/bin
pankso@2094 24 cp -a $src/tinyutils/mountbox $fs/usr/bin
pankso@2094 25 cp -a $src/tinyutils/netbox $fs/usr/bin
pankso@2094 26 cp -a $src/tinyutils/scpbox $fs/usr/bin
pankso@2094 27 cp -a $src/tinyutils/subox $fs/usr/bin
pankso@2094 28 cp -a $src/tinyutils/desktopbox $fs/usr/bin
pankso@2094 29 cp -a $src/tinyutils/tazctrlbox $fs/usr/sbin
pankso@2094 30
pankso@2094 31 # Libs and Glade XML files.
pankso@2094 32 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz
pankso@2094 33 cp -a $src/glade/*.glade $fs/usr/share/slitaz-tools/glade
pankso@2094 34
pankso@2094 35 # Gksu fake for pcmanfm
pankso@2094 36 cd $fs/usr/bin
pankso@2094 37 ln -s subox gksu
pankso@2094 38 cd $WOK/$PACKAGE
pankso@2094 39
pankso@2094 40 chown -R root.root $fs
pankso@2094 41 chmod -R 755 $fs/usr/bin
pankso@2094 42 }