wok view avant-window-navigator/receipt @ rev 19365
bwm-ng: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 03 14:21:25 2016 +0200 (2016-08-03) |
parents | 0606c4356e47 |
children | a78610b2eb47 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://launchpad.net/awn/"
11 WGET_URL="http://launchpad.net/awn/${VERSION%.*}/$VERSION/+download/$TARBALL"
12 TAGS="panel"
14 DEPENDS="acl dbus-glib librsvg libwnck xorg-xcompmgr libgtop \
15 libdesktop-agnostic"
16 BUILD_DEPENDS="librsvg-dev libwnck-dev pygtk-dev python-xdg intltool \
17 dbus-glib-dev python-dev libdesktop-agnostic-dev libgtop-dev GConf-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 --with-desktop=agnostic \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/share/$PACKAGE $fs/usr/share
41 cp -a $install/usr/share/applications $fs/usr/share
42 cp -a $install/usr/share/icons $fs/usr/share
43 # Custom autostart script so we ensure xcompmgr is also started.
44 cat > $fs/usr/bin/awn-autostart << _EOT_
45 #!/bin/sh
46 xcompmgr &
47 sleep 4
48 avant-window-navigator
49 _EOT_
50 }