summaryrefslogtreecommitdiffstats
path: root/extra/lxdm/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-07 23:03:08 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-07 23:03:08 +0100
commitfe520693077620b9786e7051e5eb4c14ab2d1794 (patch)
tree1362fea3f9846a71f9c6d7021cd62ee511adcd34 /extra/lxdm/Pkgfile
parent93c70848be6314339ace9f8ce920994633f20d41 (diff)
parent53966c91428d9b7b86b74e7fbf213c0a3533f135 (diff)
downloadnutyx-extra-fe520693077620b9786e7051e5eb4c14ab2d1794.tar.gz
nutyx-extra-fe520693077620b9786e7051e5eb4c14ab2d1794.tar.bz2
nutyx-extra-fe520693077620b9786e7051e5eb4c14ab2d1794.tar.xz
nutyx-extra-fe520693077620b9786e7051e5eb4c14ab2d1794.zip
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/pakxe
Diffstat (limited to 'extra/lxdm/Pkgfile')
-rw-r--r--extra/lxdm/Pkgfile34
1 files changed, 34 insertions, 0 deletions
diff --git a/extra/lxdm/Pkgfile b/extra/lxdm/Pkgfile
new file mode 100644
index 000000000..fcef839d9
--- /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=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)
+
+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/init.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
+}
+