summaryrefslogtreecommitdiffstats
path: root/test/slim/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-06-30 09:11:31 +0200
committertnut <thierryn1 at hispeed dot ch>2010-06-30 09:11:31 +0200
commit6b34c7c0613393049edcb782407b5293491796cf (patch)
tree831d3a6d1f5921fe3b9bbde7be12d12ac269c488 /test/slim/Pkgfile
parentb863c93fc8329443e1cff089f22e9755e7df90d6 (diff)
downloadnutyx-pakxe-6b34c7c0613393049edcb782407b5293491796cf.tar.gz
nutyx-pakxe-6b34c7c0613393049edcb782407b5293491796cf.tar.bz2
nutyx-pakxe-6b34c7c0613393049edcb782407b5293491796cf.tar.xz
nutyx-pakxe-6b34c7c0613393049edcb782407b5293491796cf.zip
slim dans test
Diffstat (limited to 'test/slim/Pkgfile')
-rw-r--r--test/slim/Pkgfile45
1 files changed, 45 insertions, 0 deletions
diff --git a/test/slim/Pkgfile b/test/slim/Pkgfile
new file mode 100644
index 000000000..a7d97d0f4
--- /dev/null
+++ b/test/slim/Pkgfile
@@ -0,0 +1,45 @@
+# Description: Gestionnaire de sessions tres configurable
+# URL: http://slim.berlios.de
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: xorg, expat, libjpeg, libpng
+
+name=slim
+version=1.3.1
+release=4
+source=(http://download.berlios.de/$name/$name-$version.tar.gz\
+ http://kiao.no-ip.info/NuTyX/files/slimnutyx-2009.2.tar.gz
+ stdlib.patch xinitrc gcc44.patch slim-restart.patch\
+ slim slim.conf slim-tty-slowness.patch)
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../slim-tty-slowness.patch
+ patch -Np1 -i ../gcc44.patch
+ patch -Np1 -i ../slim-restart.patch
+ sed -i -e 's/png12/png14/g' Makefile
+ 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
+ mv $SRC/slim-nutyx \
+ $PKG/usr/share/slim/themes/
+ 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
+ mv $PKG/usr/man \
+ $PKG/usr/share
+ sed -i 's@/var/run/slim.lock@/var/lock/slim.lock@' $PKG/etc/slim.conf
+ chown -R root:root $PKG/usr/share/slim/themes
+}