wok annotate lightdm/receipt @ rev 14900

Add firmware-mod-kit
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 31 11:20:11 2013 +0200 (2013-07-31)
parents 66feb7f9e198
children 1bd2c6414e5a
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"
al@14225 11 WGET_URL="https://launchpad.net/$PACKAGE/1.6/$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
al@14225 20 # Rules to configure and make the package.
al@14225 21 compile_rules()
al@14225 22 {
al@14225 23 ./configure \
al@14225 24 --libexecdir=/usr/lib \
al@14225 25 --sysconfdir=/etc \
al@14225 26 --disable-static \
al@14225 27 --enable-introspection \
al@14225 28 --enable-liblightdm-gobject \
al@14225 29 --disable-gtk-doc \
al@14225 30 --with-greeter-session=lightdm-gtk-greeter \
al@14225 31 $CONFIGURE_ARGS &&
al@14225 32 make &&
al@14225 33 make install
al@14225 34 }
al@14225 35
al@14225 36 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14225 37 genpkg_rules()
al@14225 38 {
al@14225 39 mkdir -p \
al@14225 40 $fs/usr/lib \
al@14225 41 $fs/usr/share/locale
al@14225 42 cp -a $install/etc $fs
al@14225 43 cp -a $install/usr/bin $fs/usr
al@14225 44 cp -a $install/usr/lib/lightdm $fs/usr/lib
al@14225 45 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14225 46 cp -a $install/usr/sbin $fs/usr
al@14225 47
al@14225 48 # localization
al@14225 49 . $WOK/slitaz-i18n/stuff/locale-pack.conf
al@14225 50 for lang in $LOCALE_PACK; do
al@14225 51 langf=$install/usr/share/locale/$lang
al@14225 52 [ -d $langf ] && cp -a $langf $fs/usr/share/locale
al@14225 53 done
al@14225 54 }