wok-stable view wbar2/receipt @ rev 10400

usbutils: put ids file in /usr/share/misc and use gzip one. Also include usb-device and hid dump
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 24 03:05:34 2011 +0200 (2011-05-24)
parents 8e658f68ef08
children
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 }