wok-next rev 9325

Fix: wbar2 receipt path
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 18 13:08:22 2011 +0100 (2011-03-18)
parents c965be0dacea
children 776ce176edb9
files wbar2/receipt wbar2/stuff/wbar.cfg
line diff
     1.1 --- a/wbar2/receipt	Fri Mar 18 13:07:33 2011 +0100
     1.2 +++ b/wbar2/receipt	Fri Mar 18 13:08:22 2011 +0100
     1.3 @@ -10,15 +10,15 @@
     1.4  WEB_SITE="http://code.google.com/p/wbar/"
     1.5  WGET_URL="http://wbar.googlecode.com/files/$TARBALL"
     1.6  DEPENDS="ttf-dejavu imlib2 libglade gtk+"
     1.7 -BUILD_DEPENDS="intltool"
     1.8 -CONFIG_FILES="/etc/wbar/dot.wbar"
     1.9 +BUILD_DEPENDS="intltool imlib2-dev libglade-dev"
    1.10 +CONFIG_FILES="/etc/default/wbar/wbar.cfg"
    1.11  TAGS="desktop launchbar"
    1.12  
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16  	cd $src
    1.17 -	./configure --exec_prefix=/usr \
    1.18 +	./configure --exec-prefix=/usr \
    1.19  		--sysconfdir=/etc &&
    1.20  	make && make install
    1.21  }
    1.22 @@ -27,10 +27,10 @@
    1.23  genpkg_rules()
    1.24  {
    1.25  	cp -a $_pkg/usr $_pkg/etc $fs
    1.26 -	cp -a $stuff/wbar.cfg $_pkg/etc/default/wbar
    1.27 +	cp -a $stuff/wbar.cfg $fs/etc/default/wbar
    1.28  	rm -r $_pkg/usr/share/locale
    1.29 -	for file in $_pkg/usr/share/pixmaps/wbar/*; do
    1.30 +	for file in $fs/usr/share/pixmaps/wbar/*; do
    1.31  		[ "${file##*/}" = osxbarback.png ] && continue
    1.32  		rm -f $file
    1.33  	done
    1.34 -}
    1.35 \ No newline at end of file
    1.36 +}
     2.1 --- a/wbar2/stuff/wbar.cfg	Fri Mar 18 13:07:33 2011 +0100
     2.2 +++ b/wbar2/stuff/wbar.cfg	Fri Mar 18 13:08:22 2011 +0100
     2.3 @@ -1,4 +1,4 @@
     2.4 -i: /usr/share/wbar/iconpack/osxbarback.png
     2.5 +i: /usr/share/pixmaps/wbar/osxbarback.png
     2.6  c: wbar --bpress --above-desk --pos bottom
     2.7  t: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold/12
     2.8