wok-6.x view wbar2/receipt @ rev 8816

Add: wbar2
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Feb 23 04:37:39 2011 +0100 (2011-02-23)
parents
children e4f3d16ee709
line source
1 # SliTaz package receipt.
3 PACKAGE="wbar2"
4 VERSION="2.1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Quick launch bar."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 SOURCE="wbar"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://code.google.com/p/wbar/"
11 WGET_URL="http://wbar.googlecode.com/files/$TARBALL"
12 DEPENDS="ttf-dejavu imlib2 libglade gtk+"
13 BUILD_DEPENDS="intltool"
14 CONFIG_FILES="/etc/wbar/dot.wbar"
15 TAGS="desktop launchbar"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --exec_prefix=/usr \
22 --sysconfdir=/etc &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $_pkg/usr $_pkg/etc $fs
30 cp -a $stuff/wbar.cfg $_pkg/etc/default/wbar
31 rm -r $_pkg/usr/share/locale
32 for file in $_pkg/usr/share/pixmaps/wbar/*; do
33 [ "${file##*/}" = osxbarback.png ] && continue
34 rm -f $file
35 done
36 }