wok annotate wbar2/receipt @ rev 10734

Up: tazdrop to 4.2.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 29 02:22:21 2011 +0000 (2011-05-29)
parents 8e658f68ef08
children 2a21689b0af7
rev   line source
gokhlayeh@8816 1 # SliTaz package receipt.
gokhlayeh@8816 2
gokhlayeh@8816 3 PACKAGE="wbar2"
slaxemulator@10307 4 VERSION="2.2.2"
gokhlayeh@8816 5 CATEGORY="system-tools"
gokhlayeh@8816 6 SHORT_DESC="Quick launch bar."
gokhlayeh@8816 7 MAINTAINER="gokhlayeh@slitaz.org"
gokhlayeh@8816 8 SOURCE="wbar"
gokhlayeh@8816 9 TARBALL="$SOURCE-$VERSION.tar.gz"
gokhlayeh@8816 10 WEB_SITE="http://code.google.com/p/wbar/"
gokhlayeh@8816 11 WGET_URL="http://wbar.googlecode.com/files/$TARBALL"
pankso@9763 12 CONFIG_FILES="/etc/default/wbar/wbar.cfg"
pankso@9763 13 TAGS="desktop launchbar"
pankso@9763 14
gokhlayeh@8816 15 DEPENDS="ttf-dejavu imlib2 libglade gtk+"
pankso@9325 16 BUILD_DEPENDS="intltool imlib2-dev libglade-dev"
gokhlayeh@8816 17
gokhlayeh@8816 18 # Rules to configure and make the package.
gokhlayeh@8816 19 compile_rules()
gokhlayeh@8816 20 {
gokhlayeh@8816 21 cd $src
pankso@9325 22 ./configure --exec-prefix=/usr \
gokhlayeh@8816 23 --sysconfdir=/etc &&
gokhlayeh@8816 24 make && make install
gokhlayeh@8816 25 }
gokhlayeh@8816 26
gokhlayeh@8816 27 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8816 28 genpkg_rules()
gokhlayeh@8816 29 {
gokhlayeh@8816 30 cp -a $_pkg/usr $_pkg/etc $fs
pankso@9325 31 cp -a $stuff/wbar.cfg $fs/etc/default/wbar
gokhlayeh@8816 32 rm -r $_pkg/usr/share/locale
pankso@9325 33 for file in $fs/usr/share/pixmaps/wbar/*; do
gokhlayeh@8816 34 [ "${file##*/}" = osxbarback.png ] && continue
gokhlayeh@8816 35 rm -f $file
gokhlayeh@8816 36 done
pankso@9325 37 }