wok view lxsession046/receipt @ rev 25682
Up libqcow (20240308)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 18:25:46 2024 +0000 (5 months ago) |
parents | ea7c7014b421 |
children |
line source
1 # SliTaz package receipt.
3 ORIGIN="lxsession"
4 PACKAGE="lxsession046"
5 VERSION="0.4.6.1"
6 CATEGORY="x-window"
7 SHORT_DESC="LXDE X session manager."
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.lxde.org/"
11 TARBALL="$ORIGIN-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
13 HOST_ARCH="i486 arm"
14 PROVIDE="lxsession"
16 DEPENDS="gtk+ dbus"
17 BUILD_DEPENDS="gtk+-dev dbus-dev intltool"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/lxde/files/LXSession%20%28session%20manager%29/ 2>/dev/null | \
23 sed '/scope="row/!d;/0.4.6/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
24 sed "/$ORIGIN-/!d;s|.*$ORIGIN-\\(.*\\).tar.*\".*|\\1|;q"
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share $fs/etc/xdg/lxsession/LXDE
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/lxsession $fs/usr/share
42 # Use SliTaz Icon them for lxsession-logout
43 cp -a $stuff/desktop.conf $fs/etc/xdg/lxsession/LXDE
44 chown -R 0.0 $fs
45 }