wok view lightdm/receipt @ rev 25723
added recipe for xfce4-mixer-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 17 16:43:37 2024 +0100 (2 months ago) |
parents | 180119c209e8 |
children |
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 HELP="https://wiki.archlinux.org/index.php/LightDM"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/canonical/lightdm/archive/refs/tags/$VERSION.tar.gz"
15 DEPENDS="libgcrypt libgio libxklavier pam xorg-libX11"
16 BUILD_DEPENDS="automake gobject-introspection-dev gtk-doc itstool
17 libgcrypt-dev libtool libxklavier-dev pam-dev wget yelp-tools"
19 CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \
20 /etc/lightdm/lightdm.conf /etc/lightdm/users.conf"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - $WEB_SITE 2>/dev/null | \
26 sed '/Latest version is/!d;s|.*is ||'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./autogen.sh \
33 --libexecdir=/usr/lib \
34 --sysconfdir=/etc \
35 --disable-static \
36 --enable-introspection \
37 --enable-liblightdm-gobject \
38 --disable-gtk-doc \
39 --with-greeter-session=lightdm-gtk-greeter \
40 $CONFIGURE_ARGS &&
41 make &&
42 make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
49 mkdir -p $fs/usr/share/locale
51 cp -a $install/etc $fs
52 cp -a $install/usr/bin $fs/usr
53 cp -a $install/usr/lib/lightdm $fs/usr/lib
54 cp -a $install/usr/lib/*.so* $fs/usr/lib
55 cp -a $install/usr/sbin $fs/usr
57 # localization
58 # split off to lightdm-lang ?
59 . $WOK/slitaz-i18n/stuff/locale-pack.conf
60 for lang in $LOCALE_PACK
61 do
62 langf=$install/usr/share/locale/$lang
63 [ -d $langf ] &&
64 cp -a $langf $fs/usr/share/locale
65 done
66 }