wok-undigest view avant-window-navigator/receipt @ rev 213
ovzkernel-i686: add gztazmod
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Jan 04 07:32:18 2011 +0100 (2011-01-04) |
parents | b945dce244aa |
children | 3e4ee9255f3d |
line source
1 # SliTaz package receipt.
3 PACKAGE="avant-window-navigator"
4 VERSION="0.4.0"
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"
9 BUILD_DEPENDS="dbus-dev librsvg-dev libwnck libwnck-dev pygtk-dev xcb-util-dev libxcb-dev startup-notification-dev pycairo-dev pygobject-dev libffi-dev python-xdg intltool acl dbus-glib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://launchpad.net/awn/"
12 WGET_URL="http://launchpad.net/awn/0.4/$VERSION/+download/$TARBALL"
13 TAGS="window-manager wm panel"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --with-desktop=agnostic \
23 --without-gconf \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
36 cp -a $_pkg/usr/share/applications $fs/usr/share
37 cp -a $_pkg/usr/share/icons/hicolor/32x32/apps \
38 $fs/usr/share/pixmaps
39 # Custom autostart script so we ensure xcompmgr is also started.
40 cat > $fs/usr/bin/awn-autostart << _EOT_
41 #!/bin/sh
42 xcompmgr &
43 sleep 4 && avant-window-navigator
44 _EOT_
46 # split awn-manager
47 rm -f $fs/usr/bin/awn-manager
48 rm -rf $fs/usr/share/$PACKAGE/awn-manager
49 rm -f $fs/usr/share/applications/awn-manager.desktop
51 # fix permissions
52 chmod +x $fs/usr/bin/*
54 # Fix missing icon
55 cd $fs/usr/share/pixmaps
56 ln -s avant-window-navigator.png awn-manager.png
59 }
61 post_install()
62 {
63 # ln missing icons
64 ln -sf $1/usr/share/icons/SliTaz/16x16/actions/go-up.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-ascending.png
65 ln -sf $1/usr/share/icons/SliTaz/16x16/actions/go-down.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-descending.png
66 }