wok-current diff lxdm/receipt @ rev 12530
Up: xorg-xf86-video-* (Update all Xorg video drivers)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 25 10:44:52 2012 +0200 (2012-04-25) |
parents | 79baea96cbb2 |
children | 2b9f96603415 |
line diff
1.1 --- a/lxdm/receipt Sat Dec 17 11:42:21 2011 +0100 1.2 +++ b/lxdm/receipt Wed Apr 25 10:44:52 2012 +0200 1.3 @@ -1,36 +1,44 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lxdm" 1.7 -VERSION="0.2.0" 1.8 +VERSION="0.4.1" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="Login manager from LXDE." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 -DEPENDS="gtk+" 1.13 -BUILD_DEPENDS="slitaz-toolchain intltool" 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WEB_SITE="http://lxde.org/" 1.16 WGET_URL="$SF_MIRROR/lxde/$TARBALL" 1.17 1.18 +DEPENDS="xorg-libX11 gtk+ slitaz-configs" 1.19 +BUILD_DEPENDS="xorg-dev gtk+-dev" 1.20 + 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 { 1.24 cd $src 1.25 ./configure \ 1.26 - --prefix=/usr \ 1.27 --libexecdir=/usr/lib/lxdm \ 1.28 --sysconfdir=/etc \ 1.29 --without-pam \ 1.30 $CONFIGURE_ARGS && 1.31 - make && 1.32 - make DESTDIR=$PWD/_pkg install 1.33 + make && make install 1.34 } 1.35 1.36 # Rules to gen a SliTaz package suitable for Tazpkg. 1.37 genpkg_rules() 1.38 { 1.39 mkdir -p $fs/etc $fs/usr/share 1.40 - cp -a $_pkg/etc/lxdm $fs/etc 1.41 - cp -a $_pkg/usr/lib $fs/usr 1.42 - cp -a $_pkg/usr/sbin $fs/usr 1.43 - cp -a $_pkg/usr/share/lxdm $fs/usr/share 1.44 + cp -a $install/etc/lxdm $fs/etc 1.45 + cp -a $install/usr/lib $fs/usr 1.46 + cp -a $install/usr/sbin $fs/usr 1.47 + cp -a $install/usr/share/lxdm $fs/usr/share 1.48 + cp -a $stuff/init.d $fs/etc 1.49 + # Use /bin/sh 1.50 + sed -i s'/bin\/bash/bin\/sh/' $fs/etc/lxdm/* 1.51 + # Custom SliTaz configuration 1.52 + # NOTE: will move to slitaz-configs when we have a nice theme 1.53 + cp -a $stuff/lxdm.conf $fs/etc/lxdm 1.54 + cp -a $stuff/Xsession $fs/etc/lxdm 1.55 + cp -a $stuff/PostLogout $fs/etc/lxdm 1.56 + chown -R root.root $fs 1.57 }