wok view lxdm/receipt @ rev 25045

Update some wget_url or web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 04 08:33:59 2022 +0000 (23 months ago)
parents fb22330086d8
children
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://www.lxde.org/"
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/lxde/files/lxdm/ 2>/dev/null | \
21 sed "/scope=\"row/!d;/$PACKAGE%20/!d;s|.*$PACKAGE%20||;s|/.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --libexecdir=/usr/lib/lxdm \
29 --sysconfdir=/etc \
30 --without-pam \
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/etc $fs/usr/share
39 cp -a $install/etc/lxdm $fs/etc
40 cp -a $install/usr/lib $fs/usr
41 cp -a $install/usr/sbin $fs/usr
42 cp -a $install/usr/share/lxdm $fs/usr/share
43 cp -a $stuff/init.d $fs/etc
44 # Use /bin/sh
45 sed -i s'/bin\/bash/bin\/sh/' $fs/etc/lxdm/*
46 # Custom SliTaz configuration
47 # NOTE: will move to slitaz-configs when we have a nice theme
48 cp -a $stuff/lxdm.conf $fs/etc/lxdm
49 cp -a $stuff/Xsession $fs/etc/lxdm
50 cp -a $stuff/PostLogout $fs/etc/lxdm
51 chown -R root.root $fs
52 }