wok view lxsession/receipt @ rev 25606
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 19 11:40:29 2023 +0000 (16 months ago) |
parents | ea7c7014b421 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxsession"
4 VERSION="0.5.5"
5 CATEGORY="x-window"
6 SHORT_DESC="LXDE X session manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.lxde.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
14 DEPENDS="dbus gtk+"
15 BUILD_DEPENDS="dbus-dev gtk+-dev libunique-dev polkit-dev"
16 SUGGESTED="lxsession-lxpolkit"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/lxde/files/LXSession%20%28session%20manager%29/ 2>/dev/null | \
24 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
25 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --sysconfdir=/etc \
33 $CONFIGURE_ARGS &&
34 make -j 1 &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/lxsession/ui
42 mkdir -p $fs/etc/xdg/lxsession/LXDE
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/libexec $fs/usr
46 cp -a $install/usr/share/lxsession/ui/lxsession*.ui $fs/usr/share/lxsession/ui
47 rm -f $fs/usr/bin/lxpolkit
48 # Use SliTaz Icon theme for lxsession-logout
49 cp -a $stuff/desktop.conf $fs/etc/xdg/lxsession/LXDE
50 touch $fs/etc/xdg/lxsession/LXDE/autostart
51 chown -R 0.0 $fs
52 }