wok-6.x annotate lxdm/receipt @ rev 13039
Up ruby-enterprise (1.8.7-2012.02)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 13 11:56:47 2012 +0200 (2012-06-13) |
parents | 79baea96cbb2 |
children | 2b9f96603415 |
rev | line source |
---|---|
pascal@11223 | 1 # SliTaz package receipt. |
pascal@11223 | 2 |
pascal@11223 | 3 PACKAGE="lxdm" |
pankso@12410 | 4 VERSION="0.4.1" |
pascal@11223 | 5 CATEGORY="x-window" |
pascal@11223 | 6 SHORT_DESC="Login manager from LXDE." |
pascal@11223 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11223 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11223 | 9 WEB_SITE="http://lxde.org/" |
pascal@11223 | 10 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pascal@11223 | 11 |
pankso@12410 | 12 DEPENDS="xorg-libX11 gtk+ slitaz-configs" |
pankso@12410 | 13 BUILD_DEPENDS="xorg-dev gtk+-dev" |
pankso@12410 | 14 |
pascal@11223 | 15 # Rules to configure and make the package. |
pascal@11223 | 16 compile_rules() |
pascal@11223 | 17 { |
pascal@11223 | 18 cd $src |
pascal@11223 | 19 ./configure \ |
pascal@11223 | 20 --libexecdir=/usr/lib/lxdm \ |
pascal@11223 | 21 --sysconfdir=/etc \ |
pascal@11223 | 22 --without-pam \ |
pascal@11223 | 23 $CONFIGURE_ARGS && |
pankso@12410 | 24 make && make install |
pascal@11223 | 25 } |
pascal@11223 | 26 |
pascal@11223 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11223 | 28 genpkg_rules() |
pascal@11223 | 29 { |
pascal@11223 | 30 mkdir -p $fs/etc $fs/usr/share |
pankso@12410 | 31 cp -a $install/etc/lxdm $fs/etc |
pankso@12410 | 32 cp -a $install/usr/lib $fs/usr |
pankso@12410 | 33 cp -a $install/usr/sbin $fs/usr |
pankso@12410 | 34 cp -a $install/usr/share/lxdm $fs/usr/share |
pankso@12410 | 35 cp -a $stuff/init.d $fs/etc |
pankso@12410 | 36 # Use /bin/sh |
pankso@12410 | 37 sed -i s'/bin\/bash/bin\/sh/' $fs/etc/lxdm/* |
pankso@12410 | 38 # Custom SliTaz configuration |
pankso@12410 | 39 # NOTE: will move to slitaz-configs when we have a nice theme |
pankso@12410 | 40 cp -a $stuff/lxdm.conf $fs/etc/lxdm |
pankso@12410 | 41 cp -a $stuff/Xsession $fs/etc/lxdm |
pankso@12410 | 42 cp -a $stuff/PostLogout $fs/etc/lxdm |
pankso@12410 | 43 chown -R root.root $fs |
pascal@11223 | 44 } |