wok-stable view wbar2/receipt @ rev 9974
linux: FIX config files (they was missing config and still i486 config)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 18 19:11:35 2011 +0200 (2011-05-18) |
parents | e4f3d16ee709 |
children | 5eefd313d61e |
line source
1 # SliTaz package receipt.
3 PACKAGE="wbar2"
4 VERSION="2.2.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 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 }