wok-current view lightdm-qt/receipt @ rev 24993

lightdm: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 14 21:35:56 2022 +0000 (2022-05-14)
parents 1bd2c6414e5a
children
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/${VERSION%.*}/$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 # 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 ./configure \
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 \
49 $fs/usr/lib \
50 $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 . $WOK/slitaz-i18n/stuff/locale-pack.conf
59 for lang in $LOCALE_PACK; do
60 langf=$install/usr/share/locale/$lang
61 [ -d $langf ] && cp -a $langf $fs/usr/share/locale
62 done
63 }