wok-current view lxdm/receipt @ rev 24050
updated i3 and i3-man (4.5.1 -> 4.19.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 13 14:58:33 2021 +0100 (2021-05-13) |
parents | 6e8b1bcb30e2 |
children | ee53899c6189 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --libexecdir=/usr/lib/lxdm \
22 --sysconfdir=/etc \
23 --without-pam \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/etc $fs/usr/share
32 cp -a $install/etc/lxdm $fs/etc
33 cp -a $install/usr/lib $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/usr/share/lxdm $fs/usr/share
36 cp -a $stuff/init.d $fs/etc
37 # Use /bin/sh
38 sed -i s'/bin\/bash/bin\/sh/' $fs/etc/lxdm/*
39 # Custom SliTaz configuration
40 # NOTE: will move to slitaz-configs when we have a nice theme
41 cp -a $stuff/lxdm.conf $fs/etc/lxdm
42 cp -a $stuff/Xsession $fs/etc/lxdm
43 cp -a $stuff/PostLogout $fs/etc/lxdm
44 chown -R root.root $fs
45 }