wok-current view lightdm/receipt @ rev 24996
updated nim (0.19.6 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 10:46:30 2022 +0100 (2022-05-16) |
parents | 1bd2c6414e5a |
children | 180119c209e8 |
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/$SOURCE/${VERSION%.*}/$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 }