wok annotate lxsession046/receipt @ rev 24561

updated fping (4.2 -> 5.1)
author Hans-G?nter Theisgen
date Fri Feb 25 16:30:10 2022 +0100 (2022-02-25)
parents 3e2a0347b2f1
children ea7c7014b421
rev   line source
al@21549 1 # SliTaz package receipt.
al@21549 2
al@21549 3 ORIGIN="lxsession"
al@21549 4 PACKAGE="lxsession046"
al@21549 5 VERSION="0.4.6.1"
al@21549 6 CATEGORY="x-window"
al@21549 7 SHORT_DESC="LXDE X session manager."
al@21549 8 MAINTAINER="devel@slitaz.org"
al@21549 9 LICENSE="GPL2"
al@21549 10 WEB_SITE="https://wiki.lxde.org/en/LXSession"
al@21549 11 TARBALL="$ORIGIN-$VERSION.tar.gz"
al@21549 12 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
al@21549 13 HOST_ARCH="i486 arm"
pascal@21551 14 PROVIDE="lxsession"
al@21549 15
al@21549 16 DEPENDS="gtk+ dbus"
al@21549 17 BUILD_DEPENDS="gtk+-dev dbus-dev intltool"
al@21549 18
pascal@24074 19 current_version()
pascal@24074 20 {
pascal@24074 21 wget -O - https://sourceforge.net/projects/lxde/files/LXSession%20%28session%20manager%29/ 2>/dev/null | \
pascal@24074 22 sed '/scope="row/!d;/0.4.6/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24075 23 sed "/$ORIGIN-/!d;s|.*$ORIGIN-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24074 24 }
pascal@24074 25
al@21549 26 # Rules to configure and make the package.
al@21549 27 compile_rules()
al@21549 28 {
al@21549 29 ./configure \
al@21549 30 --sysconfdir=/etc \
al@21549 31 $CONFIGURE_ARGS &&
al@21549 32 make && make install
al@21549 33 }
al@21549 34
al@21549 35 # Rules to gen a SliTaz package suitable for Tazpkg.
al@21549 36 genpkg_rules()
al@21549 37 {
al@21549 38 mkdir -p $fs/usr/share $fs/etc/xdg/lxsession/LXDE
al@21549 39 cp -a $install/usr/bin $fs/usr
al@21549 40 cp -a $install/usr/share/lxsession $fs/usr/share
al@21549 41 # Use SliTaz Icon them for lxsession-logout
al@21549 42 cp -a $stuff/desktop.conf $fs/etc/xdg/lxsession/LXDE
al@21549 43 chown -R 0.0 $fs
al@21549 44 }