wok annotate wbar2/receipt @ rev 15416

Up: thunderbird-langpack-en_US (17.0.9esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 03 21:52:37 2013 +0100 (2013-11-03)
parents 5eefd313d61e
children f4a081075efd
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"
pascal@15363 8 LICENSE="GPL3"
gokhlayeh@8816 9 SOURCE="wbar"
gokhlayeh@8816 10 TARBALL="$SOURCE-$VERSION.tar.gz"
gokhlayeh@8816 11 WEB_SITE="http://code.google.com/p/wbar/"
gokhlayeh@8816 12 WGET_URL="http://wbar.googlecode.com/files/$TARBALL"
pankso@9763 13 CONFIG_FILES="/etc/default/wbar/wbar.cfg"
pankso@9763 14 TAGS="desktop launchbar"
pankso@9763 15
gokhlayeh@8816 16 DEPENDS="ttf-dejavu imlib2 libglade gtk+"
pankso@9325 17 BUILD_DEPENDS="intltool imlib2-dev libglade-dev"
gokhlayeh@8816 18
gokhlayeh@8816 19 # Rules to configure and make the package.
gokhlayeh@8816 20 compile_rules()
gokhlayeh@8816 21 {
gokhlayeh@8816 22 cd $src
pankso@9325 23 ./configure --exec-prefix=/usr \
gokhlayeh@8816 24 --sysconfdir=/etc &&
gokhlayeh@8816 25 make && make install
gokhlayeh@8816 26 }
gokhlayeh@8816 27
gokhlayeh@8816 28 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8816 29 genpkg_rules()
gokhlayeh@8816 30 {
pascal@15363 31 cp -a $install/usr $install/etc $fs
pankso@9325 32 cp -a $stuff/wbar.cfg $fs/etc/default/wbar
pascal@15363 33 rm -r $install/usr/share/locale
pankso@9325 34 for file in $fs/usr/share/pixmaps/wbar/*; do
gokhlayeh@8816 35 [ "${file##*/}" = osxbarback.png ] && continue
gokhlayeh@8816 36 rm -f $file
gokhlayeh@8816 37 done
pankso@9325 38 }