wok-current annotate wbar2/receipt @ rev 9715
glibc-base: remove post_install() it not working and not usefull
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 08 23:49:22 2011 +0200 (2011-05-08) |
parents | f27cf9a5f1ef |
children | 8e658f68ef08 |
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+" |
pankso@9325 | 13 BUILD_DEPENDS="intltool imlib2-dev libglade-dev" |
pankso@9325 | 14 CONFIG_FILES="/etc/default/wbar/wbar.cfg" |
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 |
pankso@9325 | 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 |
pankso@9325 | 30 cp -a $stuff/wbar.cfg $fs/etc/default/wbar |
gokhlayeh@8816 | 31 rm -r $_pkg/usr/share/locale |
pankso@9325 | 32 for file in $fs/usr/share/pixmaps/wbar/*; do |
gokhlayeh@8816 | 33 [ "${file##*/}" = osxbarback.png ] && continue |
gokhlayeh@8816 | 34 rm -f $file |
gokhlayeh@8816 | 35 done |
pankso@9325 | 36 } |