wok view lightdm-qt/receipt @ rev 23914

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