wok-next view lxdm/receipt @ rev 16264

Add some any arch packages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 05 10:12:34 2014 +0000 (2014-04-05)
parents 000b74667629
children c9e270dd464f
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://lxde.org/"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
13 DEPENDS="xorg-libX11 gtk+ slitaz-configs"
14 BUILD_DEPENDS="xorg-dev gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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 }