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
727d0acb24c0fbf0751134c37a9c895f slim-1.3.1.tar.gz
-46349c2dc378b17d5857c5c1d904a636 slim-crux-smooth.tar.gz
dcc7e99ca74d6b93bca75b5dee95138b slim.diff
476ce747c77f1a7e116a7f63bfb7d8d3 slim.rc
# 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
+# Depends on: xorg-xauth
name=slim
version=1.3.1
-release=2
+release=3
source=(http://download.berlios.de/$name/$name-$version.tar.gz \
- http://jw.tks6.net/files/slim-crux-smooth.tar.gz $name.rc
- $name.diff)
+ $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"
+ sed -i Makefile \
+ -e "s|CFLAGS=|CFLAGS=$CFLAGS |" \
+ -e "s|-I/usr|-I$CLFS/usr|g"
- make CC="$CC" CXX="$CXX" CFLAGS="$CFLAGS -Wall -I. $INC"
+ make CC="$CC" CXX="$CXX"
make DESTDIR=$PKG install
mkdir $PKG/etc/rc.d
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/*
}