wok-current view lxsession046/receipt @ rev 25060

Up fakeroot (1.29)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 07 08:21:12 2022 +0000 (2022-06-07)
parents 80d30b02c821
children 5926178cd6fa
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 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/lxde/files/LXSession%20%28session%20manager%29/ 2>/dev/null | \
22 sed '/scope="row/!d;/0.4.6/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed "/$ORIGIN-/!d;s|.*$ORIGIN-\\(.*\\).tar.*\".*|\\1|;q"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share $fs/etc/xdg/lxsession/LXDE
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/lxsession $fs/usr/share
41 # Use SliTaz Icon them for lxsession-logout
42 cp -a $stuff/desktop.conf $fs/etc/xdg/lxsession/LXDE
43 chown -R 0.0 $fs
44 }