| 1 | # Description: Graphical login utility |
| 2 | # URL: http://slim.berlios.de |
| 3 | # Packager: Simone Rota sip at crux dot nu |
| 4 | # Maintainer: Thomas Penteker tek at serverop dot de |
| 5 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 6 | # Depends on: xorg-xauth |
| 7 | |
| 8 | name=slim |
| 9 | version=1.3.1 |
| 10 | release=3 |
| 11 | source=(http://download.berlios.de/$name/$name-$version.tar.gz \ |
| 12 | $name.rc $name.diff) |
| 13 | |
| 14 | build () { |
| 15 | cd $name-$version |
| 16 | |
| 17 | # fix the build with g++ 4.4 |
| 18 | patch -p1 -i $SRC/$name.diff |
| 19 | |
| 20 | sed -i Makefile \ |
| 21 | -e "s|CFLAGS=|CFLAGS=$CFLAGS |" \ |
| 22 | -e "s|-I/usr|-I$CLFS/usr|g" |
| 23 | |
| 24 | make CC="$CC" CXX="$CXX" |
| 25 | make DESTDIR=$PKG install |
| 26 | |
| 27 | mkdir $PKG/etc/rc.d |
| 28 | install -m 755 ../$name.rc $PKG/etc/rc.d/$name |
| 29 | cd ../ |
| 30 | |
| 31 | rm -f slim-crux-smooth/README |
| 32 | } |