wok rev 8816

Add: wbar2
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Feb 23 04:37:39 2011 +0100 (2011-02-23)
parents bae3cf420f32
children 06983a067e48
files wbar2/receipt wbar2/stuff/wbar.cfg
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wbar2/receipt	Wed Feb 23 04:37:39 2011 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="wbar2"
     1.7 +VERSION="2.1.1"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Quick launch bar."
    1.10 +MAINTAINER="gokhlayeh@slitaz.org"
    1.11 +SOURCE="wbar"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://code.google.com/p/wbar/"
    1.14 +WGET_URL="http://wbar.googlecode.com/files/$TARBALL"
    1.15 +DEPENDS="ttf-dejavu imlib2 libglade gtk+"
    1.16 +BUILD_DEPENDS="intltool"
    1.17 +CONFIG_FILES="/etc/wbar/dot.wbar"
    1.18 +TAGS="desktop launchbar"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure --exec_prefix=/usr \
    1.25 +		--sysconfdir=/etc &&
    1.26 +	make && make install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $_pkg/usr $_pkg/etc $fs
    1.33 +	cp -a $stuff/wbar.cfg $_pkg/etc/default/wbar
    1.34 +	rm -r $_pkg/usr/share/locale
    1.35 +	for file in $_pkg/usr/share/pixmaps/wbar/*; do
    1.36 +		[ "${file##*/}" = osxbarback.png ] && continue
    1.37 +		rm -f $file
    1.38 +	done
    1.39 +}
    1.40 \ No newline at end of file
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/wbar2/stuff/wbar.cfg	Wed Feb 23 04:37:39 2011 +0100
     2.3 @@ -0,0 +1,47 @@
     2.4 +i: /usr/share/wbar/iconpack/osxbarback.png
     2.5 +c: wbar --bpress --above-desk --pos bottom
     2.6 +t: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold/12
     2.7 +
     2.8 +i: /usr/share/pixmaps/wbar.png
     2.9 +c: wbar-config
    2.10 +t: Bar configuration
    2.11 +
    2.12 +i: /usr/share/pixmaps/alsaplayer.png
    2.13 +c: /usr/bin/alsaplayer
    2.14 +t: Audio player
    2.15 +
    2.16 +i: /usr/share/icons/SliTaz/32x32/mimetypes/audio-x-generic.png
    2.17 +c: xterm -e alsamixer
    2.18 +t: Sound mixer
    2.19 +
    2.20 +i: /usr/share/pixmaps/xterm.png
    2.21 +c: xterm
    2.22 +t: Terminal emulator
    2.23 +
    2.24 +i: /usr/share/pixmaps/leafpad.png
    2.25 +c: leafpad
    2.26 +t: Text editor
    2.27 +
    2.28 +i: /usr/share/pixmaps/lostirc.png
    2.29 +c: lostirc
    2.30 +t: IRC client
    2.31 +
    2.32 +i: /usr/share/pixmaps/pcmanfm.png
    2.33 +c: pcmanfm
    2.34 +t: Files manager
    2.35 +
    2.36 +i: /usr/share/pixmaps/tazpkg.png
    2.37 +c: tazpkgbox
    2.38 +t: Packages manager
    2.39 +
    2.40 +i: /usr/share/pixmaps/lxtask.png
    2.41 +c: lxtask
    2.42 +t: Task manager
    2.43 +
    2.44 +i: /usr/share/pixmaps/transmission.png
    2.45 +c: transmission
    2.46 +t: Bittorent client
    2.47 +
    2.48 +i: /usr/share/pixmaps/logout.png
    2.49 +c: desktopbox logout
    2.50 +t: Logout