wok-6.x view lightdm/receipt @ rev 25087

Up alpine (2.26)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 17 09:35:48 2022 +0000 (2022-06-17)
parents 3c87910e2ece
children 2c370a02aaa3
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.gz"
11 WGET_URL="https://github.com/canonical/lightdm/archive/refs/tags/$VERSION.tar.gz"
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 automake"
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 ./autogen.sh
31 ./configure \
32 --libexecdir=/usr/lib \
33 --sysconfdir=/etc \
34 --disable-static \
35 --enable-introspection \
36 --enable-liblightdm-gobject \
37 --disable-gtk-doc \
38 --with-greeter-session=lightdm-gtk-greeter \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p \
48 $fs/usr/lib \
49 $fs/usr/share/locale
50 cp -a $install/etc $fs
51 cp -a $install/usr/bin $fs/usr
52 cp -a $install/usr/lib/lightdm $fs/usr/lib
53 cp -a $install/usr/lib/*.so* $fs/usr/lib
54 cp -a $install/usr/sbin $fs/usr
56 # localization
57 . $WOK/slitaz-i18n/stuff/locale-pack.conf
58 for lang in $LOCALE_PACK; do
59 langf=$install/usr/share/locale/$lang
60 [ -d $langf ] && cp -a $langf $fs/usr/share/locale
61 done
62 }