wok-undigest annotate avant-window-navigator/receipt @ rev 166
Add docbook-xsl
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Aug 29 18:44:35 2010 +0000 (2010-08-29) |
parents | 39dcce0e6140 |
children | 751899d42b96 |
rev | line source |
---|---|
pankso@37 | 1 # SliTaz package receipt. |
pankso@37 | 2 |
pankso@37 | 3 PACKAGE="avant-window-navigator" |
pankso@37 | 4 VERSION="0.3.2.1" |
pankso@37 | 5 CATEGORY="x-window" |
pankso@37 | 6 SHORT_DESC="Dock-like bar which sits at the bottom of the screen." |
pankso@37 | 7 MAINTAINER="pankso@slitaz.org" |
jozee@52 | 8 DEPENDS="dbus librsvg libwnck xorg-xcompmgr" |
jozee@52 | 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" |
pankso@37 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@37 | 11 WEB_SITE="https://launchpad.net/awn/" |
pankso@37 | 12 WGET_URL="http://launchpad.net/awn/0.2/$VERSION/+download/$TARBALL" |
jozee@52 | 13 TAGS="window-manager wm panel" |
pankso@37 | 14 |
pankso@37 | 15 |
pankso@37 | 16 # Rules to configure and make the package. |
pankso@37 | 17 compile_rules() |
pankso@37 | 18 { |
pankso@37 | 19 cd $src |
pankso@37 | 20 ./configure \ |
pankso@37 | 21 --prefix=/usr \ |
pankso@37 | 22 --sysconfdir=/etc \ |
pankso@37 | 23 --with-desktop=agnostic \ |
pankso@37 | 24 --without-gconf \ |
pankso@37 | 25 $CONFIGURE_ARGS && |
pankso@37 | 26 make && |
pankso@37 | 27 make DESTDIR=$PWD/_pkg install |
pankso@37 | 28 } |
pankso@37 | 29 |
pankso@37 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@37 | 31 genpkg_rules() |
pankso@37 | 32 { |
pankso@37 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@37 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@37 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@37 | 36 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@37 | 37 cp -a $_pkg/usr/share/applications $fs/usr/share |
pankso@37 | 38 cp -a $_pkg/usr/share/icons/hicolor/32x32/apps \ |
pankso@37 | 39 $fs/usr/share/pixmaps |
pankso@37 | 40 # Custom autostart script so we ensure xcompmgr is also started. |
pankso@37 | 41 cat > $fs/usr/bin/awn-autostart << _EOT_ |
pankso@37 | 42 #!/bin/sh |
pankso@37 | 43 xcompmgr & |
pankso@37 | 44 sleep 4 && avant-window-navigator |
pankso@37 | 45 _EOT_ |
jozee@52 | 46 |
jozee@52 | 47 # split awn-manager |
jozee@52 | 48 rm -f $fs/usr/bin/awn-manager |
jozee@52 | 49 rm -rf $fs/usr/share/$PACKAGE/awn-manager |
jozee@52 | 50 rm -f $fs/usr/share/applications/awn-manager.desktop |
jozee@52 | 51 |
jozee@52 | 52 # fix permissions |
jozee@52 | 53 chmod +x $fs/usr/bin/* |
jozee@52 | 54 |
pankso@37 | 55 # Fix missing icon |
pankso@37 | 56 cd $fs/usr/share/pixmaps |
pankso@37 | 57 ln -s avant-window-navigator.png awn-manager.png |
jozee@52 | 58 |
jozee@52 | 59 |
pankso@37 | 60 } |
jozee@52 | 61 |
jozee@52 | 62 post_install() |
jozee@52 | 63 { |
jozee@52 | 64 # ln missing icons |
jozee@52 | 65 ln -sf $1/usr/share/icons/SliTaz/16x16/actions/go-up.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-ascending.png |
jozee@52 | 66 ln -sf $1/usr/share/icons/SliTaz/16x16/actions/go-down.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-descending.png |
jozee@52 | 67 } |