diff options
author | sibel <lesibel@free.fr> | 2011-02-07 12:13:11 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-02-07 12:13:11 +0100 |
commit | 2fbd5aff16564572427a3361f886c892900b19a2 (patch) | |
tree | c9a2b55fd24ad6001af6ed6b55ca4842f9267561 /extra/lxdm/Pkgfile | |
parent | d7b1ae5c14a5d8fff988d99bb5f715d4d88320a1 (diff) | |
download | nutyx-pakxe-2fbd5aff16564572427a3361f886c892900b19a2.tar.gz nutyx-pakxe-2fbd5aff16564572427a3361f886c892900b19a2.tar.bz2 nutyx-pakxe-2fbd5aff16564572427a3361f886c892900b19a2.tar.xz nutyx-pakxe-2fbd5aff16564572427a3361f886c892900b19a2.zip |
lxdm, ajout port 0.3.0-1
Diffstat (limited to 'extra/lxdm/Pkgfile')
-rw-r--r-- | extra/lxdm/Pkgfile | 34 |
1 files changed, 34 insertions, 0 deletions
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 +} + |