blob: 3d22f719a50927b729a064b220ac4a20e0747bd9 (
plain)
1 # Description: a graphical login utility
2 # URL: http://sourceforge.net/projects/slim.berlios
3 # Packager: Simone Rota, sip at crux dot nu
4 # Maintainer: Thomas Penteker, tek at serverop dot de
5 # Depends on: xorg-xauth, libjpeg-turbo, libpng, cmake
6
7 name=slim
8 version=1.3.6
9 release=1
10 source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz \
11 http://crux.nu/~tek/slim-crux-smooth.tar.gz libpng.patch $name.rc)
12
13 build () {
14 cd $name-$version
15
16 #patch -i ../libpng.patch -p1
17
18 # do NOT build slimlock (because of pam)
19 sed -i -e 's:${MANDIR}:/usr/man:g' -e '224d' CMakeLists.txt
20
21 cmake -DCMAKE_INSTALL_PREFIX=/usr
22
23 make
24 make DESTDIR=$PKG install
25 mkdir $PKG/etc/rc.d
26 install -m 755 ../$name.rc $PKG/etc/rc.d/$name
27 cd ../
28
29 rm -f slim-crux-smooth/README
30 cp -r slim-crux-smooth $PKG/usr/share/slim/themes/crux-smooth
31 chmod 0644 $PKG/usr/share/slim/themes/crux-smooth/*
32
33 # no systemd support
34 rm -r $PKG/lib $PKG/usr/man/man1/slimlock.1
35 }
|