wok view wbar2/receipt @ rev 14509
get-src2pkg: fix pkg name
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 14 07:41:25 2013 +0200 (2013-05-14) |
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 }