wok-next annotate lightdm/receipt @ rev 20523
libnsgif: add missing stuff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 15:16:45 2018 +0200 (2018-03-23) |
parents | 58744412e5b2 |
children | 757d032c55c7 |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
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@20464 | 10 |
al@14225 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@14225 | 12 WGET_URL="https://launchpad.net/$PACKAGE/1.6/$VERSION/+download/$TARBALL" |
al@20464 | 13 |
al@14225 | 14 HELP="https://wiki.archlinux.org/index.php/LightDM" |
al@14225 | 15 |
al@14225 | 16 BUILD_DEPENDS="gobject-introspection-dev pam-dev itstool libxklavier-dev \ |
al@20464 | 17 libgcrypt-dev intltool" |
al@20464 | 18 SPLIT="lightdm-dev" |
al@14225 | 19 |
al@20464 | 20 compile_rules() { |
al@14225 | 21 ./configure \ |
al@14225 | 22 --libexecdir=/usr/lib \ |
al@14225 | 23 --sysconfdir=/etc \ |
al@14225 | 24 --disable-static \ |
al@14225 | 25 --enable-introspection \ |
al@14225 | 26 --enable-liblightdm-gobject \ |
al@14225 | 27 --disable-gtk-doc \ |
al@14225 | 28 --with-greeter-session=lightdm-gtk-greeter \ |
al@14225 | 29 $CONFIGURE_ARGS && |
al@14225 | 30 make && |
al@14225 | 31 make install |
al@14225 | 32 } |
al@14225 | 33 |
al@20464 | 34 genpkg_rules() { |
al@20464 | 35 case $PACKAGE in |
al@20464 | 36 lightdm) |
al@20464 | 37 mkdir -p \ |
al@20464 | 38 $fs/usr/lib \ |
al@20464 | 39 $fs/usr/share/locale |
al@20464 | 40 cp -a $install/etc $fs |
al@20464 | 41 cp -a $install/usr/bin $fs/usr |
al@20464 | 42 cp -a $install/usr/lib/lightdm $fs/usr/lib |
al@20464 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@20464 | 44 cp -a $install/usr/sbin $fs/usr |
al@14225 | 45 |
al@20464 | 46 # localization |
al@20464 | 47 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@20464 | 48 for lang in $LOCALE_PACK; do |
al@20464 | 49 langf=$install/usr/share/locale/$lang |
al@20464 | 50 [ -d $langf ] && cp -a $langf $fs/usr/share/locale |
al@20464 | 51 done |
al@20464 | 52 DEPENDS="libgcrypt glib libxklavier pam xorg-libX11" |
al@20464 | 53 CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \ |
al@20464 | 54 /etc/lightdm/lightdm.conf /etc/lightdm/users.conf" |
al@20464 | 55 ;; |
al@20464 | 56 *-dev) |
al@20464 | 57 mkdir -p \ |
al@20464 | 58 $fs/usr/lib \ |
al@20464 | 59 $fs/usr/share |
al@20464 | 60 cp -a $install/usr/include $fs/usr |
al@20464 | 61 cp -a $install/usr/lib/girepository* $fs/usr/lib |
al@20464 | 62 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
al@20464 | 63 cp -a $install/usr/lib/*.la $fs/usr/lib |
al@20464 | 64 cp -a $install/usr/share/gir* $fs/usr/share |
al@20464 | 65 cp -a $install/usr/share/vala $fs/usr/share |
al@20464 | 66 DEPENDS="lightdm glib-dev libxklavier-dev xorg-libX11-dev" |
al@20464 | 67 ;; |
al@20464 | 68 esac |
al@14225 | 69 } |