wok annotate lightdm/receipt @ rev 25076

Up marlin (886)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 14 08:17:07 2022 +0000 (2022-06-14)
parents 1bd2c6414e5a
children 180119c209e8
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"
al@14225 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@24993 11 WGET_URL="https://launchpad.net/$SOURCE/${VERSION%.*}/$VERSION/+download/$TARBALL"
al@14225 12 HELP="https://wiki.archlinux.org/index.php/LightDM"
al@14269 13 CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \
al@14269 14 /etc/lightdm/lightdm.conf /etc/lightdm/users.conf"
al@14225 15
al@14225 16 DEPENDS="libgcrypt libgio libxklavier pam xorg-libX11"
al@14225 17 BUILD_DEPENDS="gobject-introspection-dev pam-dev itstool libxklavier-dev \
al@14225 18 libgcrypt-dev wget"
al@14225 19
pascal@24434 20 # What is the latest version available today?
pascal@24434 21 current_version()
pascal@24434 22 {
pascal@24434 23 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24434 24 sed '/Latest version is/!d;s|.*is ||'
pascal@24434 25 }
pascal@24434 26
al@14225 27 # Rules to configure and make the package.
al@14225 28 compile_rules()
al@14225 29 {
al@14225 30 ./configure \
al@14225 31 --libexecdir=/usr/lib \
al@14225 32 --sysconfdir=/etc \
al@14225 33 --disable-static \
al@14225 34 --enable-introspection \
al@14225 35 --enable-liblightdm-gobject \
al@14225 36 --disable-gtk-doc \
al@14225 37 --with-greeter-session=lightdm-gtk-greeter \
al@14225 38 $CONFIGURE_ARGS &&
al@14225 39 make &&
al@14225 40 make install
al@14225 41 }
al@14225 42
al@14225 43 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14225 44 genpkg_rules()
al@14225 45 {
al@14225 46 mkdir -p \
al@14225 47 $fs/usr/lib \
al@14225 48 $fs/usr/share/locale
al@14225 49 cp -a $install/etc $fs
al@14225 50 cp -a $install/usr/bin $fs/usr
al@14225 51 cp -a $install/usr/lib/lightdm $fs/usr/lib
al@14225 52 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14225 53 cp -a $install/usr/sbin $fs/usr
al@14225 54
al@14225 55 # localization
al@14225 56 . $WOK/slitaz-i18n/stuff/locale-pack.conf
al@14225 57 for lang in $LOCALE_PACK; do
al@14225 58 langf=$install/usr/share/locale/$lang
al@14225 59 [ -d $langf ] && cp -a $langf $fs/usr/share/locale
al@14225 60 done
al@14225 61 }