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 From 53966c91428d9b7b86b74e7fbf213c0a3533f135 Mon Sep 17 00:00:00 2001 From: sibel Date: Mon, 7 Feb 2011 12:17:08 +0100 Subject: lxdm, correction port 0.3.0-2 --- extra/lxdm/.footprint.x86_64 | 3 ++- extra/lxdm/Pkgfile | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'extra/lxdm/Pkgfile') diff --git a/extra/lxdm/.footprint.x86_64 b/extra/lxdm/.footprint.x86_64 index 351cdf03b..b9253f018 100644 --- a/extra/lxdm/.footprint.x86_64 +++ b/extra/lxdm/.footprint.x86_64 @@ -11,7 +11,8 @@ drwxr-xr-x root/root etc/lxdm/ drwxr-xr-x root/root etc/pam.d/ -rw-r--r-- root/root etc/pam.d/lxdm drwxr-xr-x root/root etc/rc.d/ --rwxr-xr-x root/root etc/rc.d/lxdm +drwxr-xr-x root/root etc/rc.d/init.d/ +-rwxr-xr-x root/root etc/rc.d/init.d/lxdm drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/lxdm/ diff --git a/extra/lxdm/Pkgfile b/extra/lxdm/Pkgfile index 6c528b1e2..fcef839d9 100644 --- a/extra/lxdm/Pkgfile +++ b/extra/lxdm/Pkgfile @@ -7,7 +7,7 @@ name=lxdm version=0.3.0 -release=1 +release=2 source=(http://downloads.sourceforge.net/project/lxdm/lxdm%20${version}/$name-$version.tar.gz lxdm-Xsession.patch lxdm.patch lxdm-pam.patch lxdm-deamon) @@ -24,7 +24,7 @@ build() { 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 + install -Dm755 $SRC/lxdm-deamon $PKG/etc/rc.d/init.d/lxdm mkdir -p $PKG/var/run/lxdm mkdir -p $PKG/var/lib/lxdm -- cgit v1.2.3-70-g09d2