wok annotate wbar2/receipt @ rev 9219

wvdial: needs -j1
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 11 16:47:05 2011 +0100 (2011-03-11)
parents
children e4f3d16ee709
rev   line source
gokhlayeh@8816 1 # SliTaz package receipt.
gokhlayeh@8816 2
gokhlayeh@8816 3 PACKAGE="wbar2"
gokhlayeh@8816 4 VERSION="2.1.1"
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"
gokhlayeh@8816 12 DEPENDS="ttf-dejavu imlib2 libglade gtk+"
gokhlayeh@8816 13 BUILD_DEPENDS="intltool"
gokhlayeh@8816 14 CONFIG_FILES="/etc/wbar/dot.wbar"
gokhlayeh@8816 15 TAGS="desktop launchbar"
gokhlayeh@8816 16
gokhlayeh@8816 17 # Rules to configure and make the package.
gokhlayeh@8816 18 compile_rules()
gokhlayeh@8816 19 {
gokhlayeh@8816 20 cd $src
gokhlayeh@8816 21 ./configure --exec_prefix=/usr \
gokhlayeh@8816 22 --sysconfdir=/etc &&
gokhlayeh@8816 23 make && make install
gokhlayeh@8816 24 }
gokhlayeh@8816 25
gokhlayeh@8816 26 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8816 27 genpkg_rules()
gokhlayeh@8816 28 {
gokhlayeh@8816 29 cp -a $_pkg/usr $_pkg/etc $fs
gokhlayeh@8816 30 cp -a $stuff/wbar.cfg $_pkg/etc/default/wbar
gokhlayeh@8816 31 rm -r $_pkg/usr/share/locale
gokhlayeh@8816 32 for file in $_pkg/usr/share/pixmaps/wbar/*; do
gokhlayeh@8816 33 [ "${file##*/}" = osxbarback.png ] && continue
gokhlayeh@8816 34 rm -f $file
gokhlayeh@8816 35 done
gokhlayeh@8816 36 }