diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-12 20:47:32 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-12 20:47:32 +0200 |
commit | 55d63e11656f2cd07f7b15f2833211b55c4d6d89 (patch) | |
tree | 7c4526be53c3bdeed376866242aa5a388b3fc58d /extra/slim/Pkgfile | |
parent | 6f94da2c4bd9ba797c7d2d9f0d711646c3de9654 (diff) | |
download | nutyx-pakxe-55d63e11656f2cd07f7b15f2833211b55c4d6d89.tar.gz nutyx-pakxe-55d63e11656f2cd07f7b15f2833211b55c4d6d89.tar.bz2 nutyx-pakxe-55d63e11656f2cd07f7b15f2833211b55c4d6d89.tar.xz nutyx-pakxe-55d63e11656f2cd07f7b15f2833211b55c4d6d89.zip |
Ajout de slim#1.3.1-1
Diffstat (limited to 'extra/slim/Pkgfile')
-rw-r--r-- | extra/slim/Pkgfile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/extra/slim/Pkgfile b/extra/slim/Pkgfile new file mode 100644 index 000000000..7a4f98ef3 --- /dev/null +++ b/extra/slim/Pkgfile @@ -0,0 +1,43 @@ +# Description: Gestionnaire de sessions tres configurable +# URL: http://slim.berlios.de +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: xorg-libxft, xorg-libxmu, xorg-xauth, libjpeg, libpng + +name=slim +version=1.3.1 +release=1 +source=(http://download.berlios.de/$name/$name-$version.tar.gz\ + stdlib.patch xinitrc gcc44.patch \ + slim slim.conf panel.png background.jpg slim.theme) + +build() { + cd $name-$version + patch -Np1 -i ../gcc44.patch + make + sed -i "s|/usr/X11R6/include|/usr/include/xorg|g" slim.conf + sed -i "s|/usr/X11R6/|/usr/|g" slim.conf + make DESTDIR=$PKG install + mkdir -p $PKG/usr/share/slim/themes/nutyx/ + for i in background.jpg panel.png slim.theme + do + cp ../$i $PKG/usr/share/slim/themes/nutyx/ + done + mkdir -p $PKG/etc/skel + install -m644 ../slim.conf $PKG/etc/slim.conf + install -m644 ../xinitrc $PKG/etc/slim.xinitrc + mkdir -p $PKG/etc/rc.d/init.d + mkdir -p $PKG/etc/rc.d/rc{0,1,2,3,4,5,6}.d + install -D -m755 -o root -g root ../slim $PKG/etc/rc.d/init.d + for i in rc3.d; + do + ln -s ../init.d/slim $PKG/etc/rc.d/$i/S40slim + done + for i in rc{0,1,2,4,5,6}.d; + do + ln -s ../init.d/slim $PKG/etc/rc.d/$i/K10slim + done + + sed -i 's@/var/run/slim.lock@/var/lock/slim.lock@' $PKG/etc/slim.conf + +} |