wok-current view wbar2/receipt @ rev 9117

scim-tables-additional: remove spurrious part of genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 13:01:38 2011 +0100 (2011-03-05)
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 }