wok-6.x view lxdm/receipt @ rev 14226
liberation-fonts-base: fix url. Recook: freetype - package cooked but something wrong, freetype-dev fails; same with freetype-infinality(-dev). Add optional (?) website to fontconfig-infinality-yad.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 21 19:21:00 2013 +0000 (2013-03-21) |
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 }