wok-6.x view wbar2/receipt @ rev 9825
xl2tpd: fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 15 15:38:32 2011 +0200 (2011-05-15) |
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 }