wok-6.x annotate avant-window-navigator/receipt @ rev 23341

updated perl-html-tree (4.1 -> 5.07)
author Hans-G?nter Theisgen
date Tue Mar 31 09:01:44 2020 +0100 (2020-03-31)
parents 86d61e110274
children 9af0e03b8ad0
rev   line source
pascal@11216 1 # SliTaz package receipt.
pascal@11216 2
pascal@11216 3 PACKAGE="avant-window-navigator"
pascal@11216 4 VERSION="0.4.0"
pascal@11216 5 CATEGORY="x-window"
pascal@11216 6 SHORT_DESC="Dock-like bar which sits at the bottom of the screen."
pascal@11216 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@11216 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11216 10 WEB_SITE="https://launchpad.net/awn/"
pascal@20669 11 WGET_URL="https://launchpad.net/awn/${VERSION%.*}/$VERSION/+download/$TARBALL"
al@17501 12 TAGS="panel"
pascal@11216 13
al@18673 14 DEPENDS="acl dbus-glib librsvg libwnck xorg-xcompmgr libgtop \
pankso@12552 15 libdesktop-agnostic"
al@18673 16 BUILD_DEPENDS="librsvg-dev libwnck-dev pygtk-dev python-xdg intltool \
al@18673 17 dbus-glib-dev python-dev libdesktop-agnostic-dev libgtop-dev GConf-dev"
pankso@12552 18
pascal@11216 19 # Rules to configure and make the package.
pascal@11216 20 compile_rules()
pascal@11216 21 {
pascal@12651 22 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
al@18673 24
pascal@11216 25 ./configure \
pascal@11216 26 --prefix=/usr \
pascal@11216 27 --sysconfdir=/etc \
pascal@11216 28 --with-desktop=agnostic \
pascal@11216 29 $CONFIGURE_ARGS &&
pascal@11216 30 make &&
pascal@11216 31 make DESTDIR=$DESTDIR install
pascal@11216 32 }
pascal@11216 33
pascal@11216 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11216 35 genpkg_rules()
pascal@11216 36 {
pascal@11216 37 mkdir -p $fs/usr/lib $fs/usr/share
pascal@15000 38 cp -a $install/usr/bin $fs/usr
pascal@15000 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15000 40 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pascal@15000 41 cp -a $install/usr/share/applications $fs/usr/share
al@18673 42 cp -a $install/usr/share/icons $fs/usr/share
pascal@11216 43 # Custom autostart script so we ensure xcompmgr is also started.
pascal@11216 44 cat > $fs/usr/bin/awn-autostart << _EOT_
pascal@11216 45 #!/bin/sh
pascal@11216 46 xcompmgr &
al@18673 47 sleep 4
al@18673 48 avant-window-navigator
pascal@11216 49 _EOT_
pascal@11216 50 }