wok view lightdm/receipt @ rev 24533
updated f3 (7.2 -> 8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 11:14:10 2022 +0100 (2022-02-23) |
parents | 68d68791ced5 |
children | 3c87910e2ece |
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/Latest version is/!d;s|.*is ||'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --libexecdir=/usr/lib \
32 --sysconfdir=/etc \
33 --disable-static \
34 --enable-introspection \
35 --enable-liblightdm-gobject \
36 --disable-gtk-doc \
37 --with-greeter-session=lightdm-gtk-greeter \
38 $CONFIGURE_ARGS &&
39 make &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p \
47 $fs/usr/lib \
48 $fs/usr/share/locale
49 cp -a $install/etc $fs
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/lib/lightdm $fs/usr/lib
52 cp -a $install/usr/lib/*.so* $fs/usr/lib
53 cp -a $install/usr/sbin $fs/usr
55 # localization
56 . $WOK/slitaz-i18n/stuff/locale-pack.conf
57 for lang in $LOCALE_PACK; do
58 langf=$install/usr/share/locale/$lang
59 [ -d $langf ] && cp -a $langf $fs/usr/share/locale
60 done
61 }