wok view lightdm/receipt @ rev 14900
Add firmware-mod-kit
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 31 11:20:11 2013 +0200 (2013-07-31) |
parents | 66feb7f9e198 |
children | 1bd2c6414e5a |
line source
1 # SliTaz package receipt.
3 PACKAGE="lightdm"
4 VERSION="1.5.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="A lightweight display manager"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3 LGPL3"
9 WEB_SITE="https://launchpad.net/lightdm"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="https://launchpad.net/$PACKAGE/1.6/$VERSION/+download/$TARBALL"
12 HELP="https://wiki.archlinux.org/index.php/LightDM"
13 CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \
14 /etc/lightdm/lightdm.conf /etc/lightdm/users.conf"
16 DEPENDS="libgcrypt libgio libxklavier pam xorg-libX11"
17 BUILD_DEPENDS="gobject-introspection-dev pam-dev itstool libxklavier-dev \
18 libgcrypt-dev wget"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --libexecdir=/usr/lib \
25 --sysconfdir=/etc \
26 --disable-static \
27 --enable-introspection \
28 --enable-liblightdm-gobject \
29 --disable-gtk-doc \
30 --with-greeter-session=lightdm-gtk-greeter \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p \
40 $fs/usr/lib \
41 $fs/usr/share/locale
42 cp -a $install/etc $fs
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/lightdm $fs/usr/lib
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/sbin $fs/usr
48 # localization
49 . $WOK/slitaz-i18n/stuff/locale-pack.conf
50 for lang in $LOCALE_PACK; do
51 langf=$install/usr/share/locale/$lang
52 [ -d $langf ] && cp -a $langf $fs/usr/share/locale
53 done
54 }