wok view lightdm-gtk3-greeter/receipt @ rev 17885
fusecloop/extract_compressed_fs: large file support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 02 10:46:24 2015 +0200 (2015-04-02) |
parents | 66feb7f9e198 |
children | 9e01bc6321ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="lightdm-gtk3-greeter"
4 VERSION="1.5.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Reference GTK+3 greeter for LightDM"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://launchpad.net/lightdm-gtk-greeter"
10 SOURCE="lightdm-gtk-greeter"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/$SOURCE/1.6/$VERSION/+download/$TARBALL"
14 DEPENDS="gtk+3 lightdm"
15 BUILD_DEPENDS="gobject-introspection-dev gtk+3-dev lightdm-dev libxklavier-dev \
16 wget"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --disable-static \
24 --enable-introspection \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/locale
34 cp -a $install/etc $fs
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/usr/share/xgreeters $fs/usr/share
38 # localization
39 . $WOK/slitaz-i18n/stuff/locale-pack.conf
40 for lang in $LOCALE_PACK; do
41 langf=$install/usr/share/locale/$lang
42 [ -d $langf ] && cp -a $langf $fs/usr/share/locale
43 done
44 }
46 post_install()
47 {
48 echo 'make lightdm-gtk3-greeter default greeter'
49 sed -i 's|^# \(greeter-session =\)|\1 lightdm-gtk3-greeter #|' \
50 $1/etc/lightdm/lightdm.conf
51 }
53 post_remove()
54 {
55 echo 'back to default greeter'
56 sed -i 's|^\(greeter-session =\).*#\(.*\)|#\1\2|' \
57 $1/etc/lightdm/lightdm.conf
58 }