2006-02-23 15:26:10 +00:00
|
|
|
# Description: a graphical login utility
|
2014-07-27 18:41:13 +02:00
|
|
|
# URL: http://sourceforge.net/projects/slim.berlios
|
2009-09-19 01:04:29 +02:00
|
|
|
# Packager: Simone Rota, sip at crux dot nu
|
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2014-07-20 20:54:28 +10:00
|
|
|
# Depends on: xorg-xauth, libjpeg-turbo, libpng, cmake
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=slim
|
2013-10-04 22:23:41 +02:00
|
|
|
version=1.3.6
|
2012-06-27 23:25:50 +02:00
|
|
|
release=1
|
2014-07-27 12:16:18 +02:00
|
|
|
source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz \
|
2015-01-16 16:52:27 +01:00
|
|
|
http://crux.nu/~tek/slim-crux-smooth.tar.gz libpng.patch $name.rc)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2012-06-27 23:25:50 +02:00
|
|
|
|
2013-01-02 16:07:12 +01:00
|
|
|
#patch -i ../libpng.patch -p1
|
2012-08-11 16:06:10 +02:00
|
|
|
|
2013-10-04 22:23:41 +02:00
|
|
|
# do NOT build slimlock (because of pam)
|
|
|
|
sed -i -e 's:${MANDIR}:/usr/man:g' -e '224d' CMakeLists.txt
|
|
|
|
|
2012-06-27 23:25:50 +02:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
mkdir $PKG/etc/rc.d
|
|
|
|
install -m 755 ../$name.rc $PKG/etc/rc.d/$name
|
2006-03-30 15:11:29 +00:00
|
|
|
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/*
|
2013-01-02 16:07:12 +01:00
|
|
|
|
|
|
|
# no systemd support
|
2013-10-04 22:23:41 +02:00
|
|
|
rm -r $PKG/lib $PKG/usr/man/man1/slimlock.1
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|