wok-next view wbar2/receipt @ rev 12727

Up: get-java6-jre (1.1.0)
author Richard Dunbar <mojo@slitaz.org>
date Sat May 05 10:28:22 2012 +0000 (2012-05-05)
parents 8e658f68ef08
children 2a21689b0af7
line source
1 # SliTaz package receipt.
3 PACKAGE="wbar2"
4 VERSION="2.2.2"
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 CONFIG_FILES="/etc/default/wbar/wbar.cfg"
13 TAGS="desktop launchbar"
15 DEPENDS="ttf-dejavu imlib2 libglade gtk+"
16 BUILD_DEPENDS="intltool imlib2-dev libglade-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --exec-prefix=/usr \
23 --sysconfdir=/etc &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $_pkg/usr $_pkg/etc $fs
31 cp -a $stuff/wbar.cfg $fs/etc/default/wbar
32 rm -r $_pkg/usr/share/locale
33 for file in $fs/usr/share/pixmaps/wbar/*; do
34 [ "${file##*/}" = osxbarback.png ] && continue
35 rm -f $file
36 done
37 }