--- /dev/null
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/rc.d/
+-rwxr-xr-x root/root etc/rc.d/slim
+-rw-r--r-- root/root etc/slim.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/slim
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/slim.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/slim/
+drwxr-xr-x root/root usr/share/slim/themes/
+drwxr-xr-x root/root usr/share/slim/themes/crux-smooth/
+-rw-r--r-- root/root usr/share/slim/themes/crux-smooth/background.jpg
+-rw-r--r-- root/root usr/share/slim/themes/crux-smooth/panel.png
+-rw-r--r-- root/root usr/share/slim/themes/crux-smooth/slim.theme
+drwxr-xr-x root/root usr/share/slim/themes/default/
+-rw-r--r-- root/root usr/share/slim/themes/default/background.jpg
+-rw-r--r-- root/root usr/share/slim/themes/default/panel.png
+-rw-r--r-- root/root usr/share/slim/themes/default/slim.theme
--- /dev/null
+727d0acb24c0fbf0751134c37a9c895f slim-1.3.1.tar.gz
+46349c2dc378b17d5857c5c1d904a636 slim-crux-smooth.tar.gz
+dcc7e99ca74d6b93bca75b5dee95138b slim.diff
+476ce747c77f1a7e116a7f63bfb7d8d3 slim.rc
--- /dev/null
+# Description: Graphical login utility
+# URL: http://slim.berlios.de
+# Packager: Simone Rota sip at crux dot nu
+# Maintainer: Thomas Penteker tek at serverop dot de
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: xorg-xauth libjpeg libpng
+
+name=slim
+version=1.3.1
+release=2
+source=(http://download.berlios.de/$name/$name-$version.tar.gz \
+ http://jw.tks6.net/files/slim-crux-smooth.tar.gz $name.rc
+ $name.diff)
+
+build () {
+ cd $name-$version
+
+ # fix the build with g++ 4.4
+ patch -p1 -i $SRC/$name.diff
+
+ INC="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/libpng12"
+ INC="$INC -I$CLFS/usr/include/X11/extensions -I$CLFS/usr/include/X11/Xft"
+ INC="$INC -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/freetype2/config"
+
+ make CC="$CC" CXX="$CXX" CFLAGS="$CFLAGS -Wall -I. $INC"
+ make DESTDIR=$PKG install
+
+ mkdir $PKG/etc/rc.d
+ install -m 755 ../$name.rc $PKG/etc/rc.d/$name
+ cd ../
+
+ rm -f slim-crux-smooth/README
+ cp -r slim-crux-smooth $PKG/usr/share/slim/themes/crux-smooth
+ chmod 0644 $PKG/usr/share/slim/themes/crux-smooth/*
+}
--- /dev/null
+diff -aur slim-1.3.1.orig/switchuser.cpp slim-1.3.1/switchuser.cpp
+--- slim-1.3.1.orig/switchuser.cpp 2008-09-26 02:54:15.000000000 +0200
++++ slim-1.3.1/switchuser.cpp 2009-07-20 15:23:06.105573161 +0200
+@@ -9,6 +9,7 @@
+ (at your option) any later version.
+ */
+
++#include <cstdio>
+ #include "switchuser.h"
+
+ using namespace std;
--- /dev/null
+#!/bin/sh
+#
+# /etc/rc.d/slim: start/stop slim
+#
+
+case $1 in
+start)
+ /usr/bin/slim -d
+ ;;
+stop)
+ killall /usr/bin/slim
+ ;;
+restart)
+ $0 stop
+ sleep 2
+ $0 start
+ ;;
+*)
+ echo "usage: $0 [start|stop|restart]"
+ ;;
+esac
+
+# End of file