wok annotate wbar2/receipt @ rev 16040

tazpanel: gettext is installed in chroot
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 09 11:49:44 2014 +0100 (2014-03-09)
parents f4a081075efd
children d504756dc474
rev   line source
gokhlayeh@8816 1 # SliTaz package receipt.
gokhlayeh@8816 2
gokhlayeh@8816 3 PACKAGE="wbar2"
erjo@15674 4 VERSION="2.3.4"
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"
erjo@15674 10 TARBALL="$SOURCE-$VERSION.tgz"
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 {
erjo@15699 31 mkdir -p $fs/usr/share $fs/usr/share/applications
erjo@15674 32
erjo@15674 33 cp -a $install/usr/bin $fs/usr
erjo@15674 34 cp -a $install/etc $fs/
erjo@15674 35 cp -a $stuff/wbar.cfg $fs/etc/wbar.d
erjo@15674 36 cp -a $install/usr/share/pixmaps $fs/usr/share
erjo@15674 37 cp -a $install/usr/share/wbar $fs/usr/share
erjo@15699 38
erjo@15699 39 mv $fs/etc/wbar.d/wbar.desktop $fs/usr/share/applications
pankso@9325 40 }