summaryrefslogtreecommitdiffstats
path: root/lxdm/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /lxdm/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'lxdm/Pkgfile')
-rw-r--r--lxdm/Pkgfile37
1 files changed, 37 insertions, 0 deletions
diff --git a/lxdm/Pkgfile b/lxdm/Pkgfile
new file mode 100644
index 000000000..ae33142d0
--- /dev/null
+++ b/lxdm/Pkgfile
@@ -0,0 +1,37 @@
+# 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: xorg-libxinerama, xorg-libxrandr, xorg-libxcursor, xorg-libxdamage, gtk, consolekit
+# Run on: gtk,consolekit
+
+name=lxdm
+version=0.3.0
+release=3
+source=(http://downloads.sourceforge.net/project/lxdm/lxdm%20${version}/$name-$version.tar.gz
+ lxdm-Xsession.patch lxdm.patch lxdm-pam.patch \
+ http://nutyx.meticul.eu/files/patchs/xfdesktop/pakxe-01.xcf.png)
+
+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
+
+ mkdir -p $PKG/var/run/lxdm
+ mkdir -p $PKG/var/lib/lxdm
+
+ sed -i -e "s/libexec/lib\/lxdm/" $PKG/etc/lxdm/lxdm.conf
+ mkdir -p $PKG/usr/share/backgrounds
+ install -m644 $SRC/pakxe-01.xcf.png \
+ $PKG//usr/share/backgrounds/default.png
+}
+