wok-current view lxdm/receipt @ rev 18481
bash: post_install() not [ fails ] when you refuse to make bash default
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 08 04:06:36 2015 +0300 (2015-10-08) |
parents | 2b9f96603415 |
children | 10e4a8f9b413 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxdm"
4 VERSION="0.4.1"
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.gz"
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 }