wok annotate lightdm/receipt @ rev 25178

Add linux-chrome
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 03 18:25:40 2022 +0000 (2022-07-03)
parents 180119c209e8
children
rev   line source
al@14225 1 # SliTaz package receipt.
al@14225 2
al@14225 3 PACKAGE="lightdm"
al@14269 4 VERSION="1.5.3"
al@14225 5 CATEGORY="system-tools"
al@14225 6 SHORT_DESC="A lightweight display manager"
al@14225 7 MAINTAINER="al.bobylev@gmail.com"
al@14225 8 LICENSE="GPL3 LGPL3"
al@14225 9 WEB_SITE="https://launchpad.net/lightdm"
Hans-G?nter@25088 10 HELP="https://wiki.archlinux.org/index.php/LightDM"
Hans-G?nter@25088 11
pascal@25087 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25087 13 WGET_URL="https://github.com/canonical/lightdm/archive/refs/tags/$VERSION.tar.gz"
Hans-G?nter@25088 14
Hans-G?nter@25088 15 DEPENDS="libgcrypt libgio libxklavier pam xorg-libX11"
Hans-G?nter@25088 16 BUILD_DEPENDS="automake gobject-introspection-dev gtk-doc itstool
Hans-G?nter@25088 17 libgcrypt-dev libtool libxklavier-dev pam-dev wget yelp-tools"
Hans-G?nter@25088 18
al@14269 19 CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \
al@14269 20 /etc/lightdm/lightdm.conf /etc/lightdm/users.conf"
al@14225 21
pascal@24434 22 # What is the latest version available today?
pascal@24434 23 current_version()
pascal@24434 24 {
pascal@24434 25 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24434 26 sed '/Latest version is/!d;s|.*is ||'
pascal@24434 27 }
pascal@24434 28
al@14225 29 # Rules to configure and make the package.
al@14225 30 compile_rules()
al@14225 31 {
Hans-G?nter@25088 32 ./autogen.sh \
Hans-G?nter@25088 33 --libexecdir=/usr/lib \
Hans-G?nter@25088 34 --sysconfdir=/etc \
Hans-G?nter@25088 35 --disable-static \
Hans-G?nter@25088 36 --enable-introspection \
Hans-G?nter@25088 37 --enable-liblightdm-gobject \
Hans-G?nter@25088 38 --disable-gtk-doc \
Hans-G?nter@25088 39 --with-greeter-session=lightdm-gtk-greeter \
al@14225 40 $CONFIGURE_ARGS &&
al@14225 41 make &&
al@14225 42 make install
al@14225 43 }
al@14225 44
al@14225 45 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14225 46 genpkg_rules()
al@14225 47 {
Hans-G?nter@25088 48 mkdir -p $fs/usr/lib
Hans-G?nter@25088 49 mkdir -p $fs/usr/share/locale
Hans-G?nter@25088 50
Hans-G?nter@25088 51 cp -a $install/etc $fs
Hans-G?nter@25088 52 cp -a $install/usr/bin $fs/usr
Hans-G?nter@25088 53 cp -a $install/usr/lib/lightdm $fs/usr/lib
Hans-G?nter@25088 54 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@25088 55 cp -a $install/usr/sbin $fs/usr
al@14225 56
al@14225 57 # localization
Hans-G?nter@25088 58 # split off to lightdm-lang ?
al@14225 59 . $WOK/slitaz-i18n/stuff/locale-pack.conf
Hans-G?nter@25088 60 for lang in $LOCALE_PACK
Hans-G?nter@25088 61 do
al@14225 62 langf=$install/usr/share/locale/$lang
Hans-G?nter@25088 63 [ -d $langf ] &&
Hans-G?nter@25088 64 cp -a $langf $fs/usr/share/locale
Hans-G?nter@25088 65 done
al@14225 66 }