wok view lxdm/receipt @ rev 13429

partclone: add btrfs & hfsplus support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 04 11:53:21 2012 +0200 (2012-10-04)
parents 79baea96cbb2
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="lxdm"
4 VERSION="0.4.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Login manager from LXDE."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://lxde.org/"
10 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 DEPENDS="xorg-libX11 gtk+ slitaz-configs"
13 BUILD_DEPENDS="xorg-dev gtk+-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --libexecdir=/usr/lib/lxdm \
21 --sysconfdir=/etc \
22 --without-pam \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/etc $fs/usr/share
31 cp -a $install/etc/lxdm $fs/etc
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 cp -a $install/usr/share/lxdm $fs/usr/share
35 cp -a $stuff/init.d $fs/etc
36 # Use /bin/sh
37 sed -i s'/bin\/bash/bin\/sh/' $fs/etc/lxdm/*
38 # Custom SliTaz configuration
39 # NOTE: will move to slitaz-configs when we have a nice theme
40 cp -a $stuff/lxdm.conf $fs/etc/lxdm
41 cp -a $stuff/Xsession $fs/etc/lxdm
42 cp -a $stuff/PostLogout $fs/etc/lxdm
43 chown -R root.root $fs
44 }