# SliTaz package receipt. PACKAGE="lxdm" VERSION="0.4.1" CATEGORY="x-window" SHORT_DESC="Login manager from LXDE." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://lxde.org/" WGET_URL="$SF_MIRROR/lxde/$TARBALL" DEPENDS="xorg-libX11 gtk+ slitaz-configs" BUILD_DEPENDS="xorg-dev gtk+-dev" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --libexecdir=/usr/lib/lxdm \ --sysconfdir=/etc \ --without-pam \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/etc $fs/usr/share cp -a $install/etc/lxdm $fs/etc cp -a $install/usr/lib $fs/usr cp -a $install/usr/sbin $fs/usr cp -a $install/usr/share/lxdm $fs/usr/share cp -a $stuff/init.d $fs/etc # Use /bin/sh sed -i s'/bin\/bash/bin\/sh/' $fs/etc/lxdm/* # Custom SliTaz configuration # NOTE: will move to slitaz-configs when we have a nice theme cp -a $stuff/lxdm.conf $fs/etc/lxdm cp -a $stuff/Xsession $fs/etc/lxdm cp -a $stuff/PostLogout $fs/etc/lxdm chown -R root.root $fs }