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

Rm perl-smtp-ssl, move to wok.
author Liu Peng <rocky@slitaz.org>
date Sun Jan 02 08:20:57 2011 +0000 (2011-01-02)
parents 39dcce0e6140
children 751899d42b96
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"
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.2/$VERSION/+download/$TARBALL"
13 TAGS="window-manager wm panel"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --with-desktop=agnostic \
24 --without-gconf \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
37 cp -a $_pkg/usr/share/applications $fs/usr/share
38 cp -a $_pkg/usr/share/icons/hicolor/32x32/apps \
39 $fs/usr/share/pixmaps
40 # Custom autostart script so we ensure xcompmgr is also started.
41 cat > $fs/usr/bin/awn-autostart << _EOT_
42 #!/bin/sh
43 xcompmgr &
44 sleep 4 && avant-window-navigator
45 _EOT_
47 # split awn-manager
48 rm -f $fs/usr/bin/awn-manager
49 rm -rf $fs/usr/share/$PACKAGE/awn-manager
50 rm -f $fs/usr/share/applications/awn-manager.desktop
52 # fix permissions
53 chmod +x $fs/usr/bin/*
55 # Fix missing icon
56 cd $fs/usr/share/pixmaps
57 ln -s avant-window-navigator.png awn-manager.png
60 }
62 post_install()
63 {
64 # ln missing icons
65 ln -sf $1/usr/share/icons/SliTaz/16x16/actions/go-up.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-ascending.png
66 ln -sf $1/usr/share/icons/SliTaz/16x16/actions/go-down.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-descending.png
67 }