wok view lxdm/receipt @ rev 20714

updated attr and attr-dev (2.4.47 -> 2.4.48)
author Hans-G?nter Theisgen
date Wed Feb 06 17:47:17 2019 +0100 (2019-02-06)
parents 10e4a8f9b413
children d33c3c211ef8
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://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 # 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 }