From 2fbd5aff16564572427a3361f886c892900b19a2 Mon Sep 17 00:00:00 2001 From: sibel Date: Mon, 7 Feb 2011 12:13:11 +0100 Subject: lxdm, ajout port 0.3.0-1 --- extra/lxdm/Pkgfile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 extra/lxdm/Pkgfile (limited to 'extra/lxdm/Pkgfile') diff --git a/extra/lxdm/Pkgfile b/extra/lxdm/Pkgfile new file mode 100644 index 000000000..6c528b1e2 --- /dev/null +++ b/extra/lxdm/Pkgfile @@ -0,0 +1,34 @@ +# Description: Display manager leger (partie de lxde) +# URL: http://sourceforge.net/projects/lxdm/ +# Maintainer: NuTyX core team +# Packager: lesibel at free dot fr +# Depends on: gtk, consolekit, xorg-server +# Run on: + +name=lxdm +version=0.3.0 +release=1 +source=(http://downloads.sourceforge.net/project/lxdm/lxdm%20${version}/$name-$version.tar.gz + lxdm-Xsession.patch lxdm.patch lxdm-pam.patch lxdm-deamon) + +build() { + cd $name-$version + ./configure --sysconfdir=/etc \ + --prefix=/usr \ + --libexecdir=/usr/lib/lxdm + make + + patch -Np0 < ../lxdm.patch + patch -Np0 < ../lxdm-Xsession.patch + + make DESTDIR=$PKG install + + install -m644 $SRC/lxdm-pam.patch $PKG/etc/pam.d/lxdm + install -Dm755 $SRC/lxdm-deamon $PKG/etc/rc.d/lxdm + + mkdir -p $PKG/var/run/lxdm + mkdir -p $PKG/var/lib/lxdm + + sed -i -e "s/libexec/lib\/lxdm/" $PKG/etc/lxdm/lxdm.conf +} + -- cgit v1.2.3-70-g09d2