wok-current view avant-window-navigator/receipt @ rev 24996
updated nim (0.19.6 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 10:46:30 2022 +0100 (2022-05-16) |
parents | a78610b2eb47 |
children |
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="https://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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/p12tic/awn/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
32 ./configure \
33 --prefix=/usr \
34 --sysconfdir=/etc \
35 --with-desktop=agnostic \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/share/$PACKAGE $fs/usr/share
48 cp -a $install/usr/share/applications $fs/usr/share
49 cp -a $install/usr/share/icons $fs/usr/share
50 # Custom autostart script so we ensure xcompmgr is also started.
51 cat > $fs/usr/bin/awn-autostart << _EOT_
52 #!/bin/sh
53 xcompmgr &
54 sleep 4
55 avant-window-navigator
56 _EOT_
57 }