wok view lxdm/receipt @ rev 20198
e2fsprogs: update bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 12 15:59:44 2018 +0100 (2018-02-12) |
parents | c9e270dd464f |
children | 6e8b1bcb30e2 |
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="http://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 }