wok-next view lightdm/receipt @ rev 20464

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