wok-next view wbar2/receipt @ rev 9702

binutils: Fix a bug fot Tazwok and make it build for cookutils.
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 15:46:39 2011 +0200 (2011-05-08)
parents f27cf9a5f1ef
children 8e658f68ef08
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 imlib2-dev libglade-dev"
14 CONFIG_FILES="/etc/default/wbar/wbar.cfg"
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 $fs/etc/default/wbar
31 rm -r $_pkg/usr/share/locale
32 for file in $fs/usr/share/pixmaps/wbar/*; do
33 [ "${file##*/}" = osxbarback.png ] && continue
34 rm -f $file
35 done
36 }