wok-6.x annotate lightdm-qt/receipt @ rev 21342
cherokee fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 20 15:26:18 2019 +0200 (2019-04-20) |
parents | |
children | 1bd2c6414e5a |
rev | line source |
---|---|
al@15190 | 1 # SliTaz package receipt. |
al@15190 | 2 |
al@15190 | 3 PACKAGE="lightdm-qt" |
al@15190 | 4 VERSION="1.5.3" |
al@15190 | 5 CATEGORY="system-tools" |
al@15190 | 6 SHORT_DESC="A lightweight display manager for Qt" |
al@15190 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@15190 | 8 LICENSE="GPL3 LGPL3" |
al@15190 | 9 WEB_SITE="https://launchpad.net/lightdm" |
al@15190 | 10 SOURCE="lightdm" |
al@15190 | 11 TARBALL="$SOURCE-$VERSION.tar.xz" |
al@15190 | 12 WGET_URL="https://launchpad.net/$SOURCE/1.8/$VERSION/+download/$TARBALL" |
al@15190 | 13 HELP="https://wiki.archlinux.org/index.php/LightDM" |
al@15190 | 14 CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \ |
al@15190 | 15 /etc/lightdm/lightdm.conf /etc/lightdm/users.conf" |
al@15190 | 16 |
al@15190 | 17 DEPENDS="libQtDBus libQtGui libgcrypt libgio libxklavier pam" |
al@15190 | 18 BUILD_DEPENDS="Qt4-dev gobject-introspection-dev pam-dev itstool libxklavier-dev \ |
al@15190 | 19 libgcrypt-dev wget xorg-libXdmcp-dev xorg-libX11-dev xorg-libXi-dev \ |
al@15190 | 20 xorg-libxkbfile-dev" |
al@15190 | 21 |
al@15190 | 22 # Rules to configure and make the package. |
al@15190 | 23 compile_rules() |
al@15190 | 24 { |
al@15190 | 25 ./configure \ |
al@15190 | 26 --libexecdir=/usr/lib \ |
al@15190 | 27 --sysconfdir=/etc \ |
al@15190 | 28 --disable-static \ |
al@15190 | 29 --enable-introspection \ |
al@15190 | 30 --enable-liblightdm-gobject \ |
al@15190 | 31 --disable-gtk-doc \ |
al@15190 | 32 --with-greeter-session=lightdm-gtk-greeter \ |
al@15190 | 33 $CONFIGURE_ARGS && |
al@15190 | 34 make && |
al@15190 | 35 make install |
al@15190 | 36 } |
al@15190 | 37 |
al@15190 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@15190 | 39 genpkg_rules() |
al@15190 | 40 { |
al@15190 | 41 mkdir -p \ |
al@15190 | 42 $fs/usr/lib \ |
al@15190 | 43 $fs/usr/share/locale |
al@15190 | 44 cp -a $install/etc $fs |
al@15190 | 45 cp -a $install/usr/bin $fs/usr |
al@15190 | 46 cp -a $install/usr/lib/lightdm $fs/usr/lib |
al@15190 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@15190 | 48 cp -a $install/usr/sbin $fs/usr |
al@15190 | 49 |
al@15190 | 50 # localization |
al@15190 | 51 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@15190 | 52 for lang in $LOCALE_PACK; do |
al@15190 | 53 langf=$install/usr/share/locale/$lang |
al@15190 | 54 [ -d $langf ] && cp -a $langf $fs/usr/share/locale |
al@15190 | 55 done |
al@15190 | 56 } |