wok-current view lxdm/receipt @ rev 24776
jack1: added build dependency gcc83
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 19 17:48:51 2022 +0100 (2022-03-19) |
parents | ee53899c6189 |
children | 232ba43d30af |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxdm"
4 VERSION="0.5.3"
5 CATEGORY="x-window"
6 SHORT_DESC="GUI login manager for LXDE"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://wiki.lxde.org/en/LXDM"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 TAGS="LXDE"
14 DEPENDS="xorg-libX11 gtk+ slitaz-configs"
15 BUILD_DEPENDS="xorg-dev gtk+-dev"
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/lxde/files/lxdm/ 2>/dev/null | \
20 sed "/scope=\"row/!d;/$PACKAGE%20/!d;s|.*$PACKAGE%20||;s|/.*||;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --libexecdir=/usr/lib/lxdm \
28 --sysconfdir=/etc \
29 --without-pam \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/etc $fs/usr/share
38 cp -a $install/etc/lxdm $fs/etc
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/share/lxdm $fs/usr/share
42 cp -a $stuff/init.d $fs/etc
43 # Use /bin/sh
44 sed -i s'/bin\/bash/bin\/sh/' $fs/etc/lxdm/*
45 # Custom SliTaz configuration
46 # NOTE: will move to slitaz-configs when we have a nice theme
47 cp -a $stuff/lxdm.conf $fs/etc/lxdm
48 cp -a $stuff/Xsession $fs/etc/lxdm
49 cp -a $stuff/PostLogout $fs/etc/lxdm
50 chown -R root.root $fs
51 }