wok-undigest view avant-window-navigator/receipt @ rev 37

Add avant-window-navigator
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 11 00:42:32 2010 +0200 (2010-04-11)
parents
children b945dce244aa
line source
1 # SliTaz package receipt.
3 PACKAGE="avant-window-navigator"
4 VERSION="0.3.2.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Dock-like bar which sits at the bottom of the screen."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="dbus librsvg libwnck xorg-xcompmgr pygtk"
9 BUILD_DEPENDS="dbus-dev librsvg-dev libwnck-dev pygtk-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://launchpad.net/awn/"
12 WGET_URL="http://launchpad.net/awn/0.2/$VERSION/+download/$TARBALL"
13 TAGS="window-manager wm"
15 # We can split AWN manager so we dont have pygtk as dependency.
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --with-desktop=agnostic \
25 --without-gconf \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/python* $fs/usr/lib
38 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
39 cp -a $_pkg/usr/share/applications $fs/usr/share
40 cp -a $_pkg/usr/share/icons/hicolor/32x32/apps \
41 $fs/usr/share/pixmaps
42 # Custom autostart script so we ensure xcompmgr is also started.
43 cat > $fs/usr/bin/awn-autostart << _EOT_
44 #!/bin/sh
45 xcompmgr &
46 sleep 4 && avant-window-navigator
47 _EOT_
48 # Fix missing icon
49 cd $fs/usr/share/pixmaps
50 ln -s avant-window-navigator.png awn-manager.png
51 }