wok-current view lxsession046/receipt @ rev 24809

created recipes for libmypaint, libmypaint-dev and libmypaint-lang
author Hans-G?nter Theisgen
date Tue Mar 22 16:52:59 2022 +0100 (2022-03-22)
parents 3e2a0347b2f1
children ea7c7014b421
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://wiki.lxde.org/en/LXSession"
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 }