1
0
forked from ports/opt

slim: initial import

This commit is contained in:
Simone Rota 2005-11-16 17:44:33 +00:00
parent b8dac6916e
commit 86b9e9ec7f
4 changed files with 61 additions and 0 deletions

17
slim/.footprint Normal file
View File

@ -0,0 +1,17 @@
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/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

2
slim/.md5sum Normal file
View File

@ -0,0 +1,2 @@
39cb83307dd501e1d5cc78f820a3f8e6 slim-1.2.3.tar.gz
476ce747c77f1a7e116a7f63bfb7d8d3 slim.rc

19
slim/Pkgfile Normal file
View File

@ -0,0 +1,19 @@
# Packager: Simone Rota, sip at varlock dot com
# Maintainer: Simone Rota, sip at varlock dot com
# Description: a graphical login utility
# URL: http://slim.berlios.de
# Depends on: x11
name=slim
version=1.2.3
release=1
source=(http://download.berlios.de/$name/$name-$version.tar.gz
$name.rc)
build () {
cd $name-$version
make
make DESTDIR=$PKG install
mkdir $PKG/etc/rc.d
install -m 755 ../$name.rc $PKG/etc/rc.d/$name
}

23
slim/slim.rc Normal file
View File

@ -0,0 +1,23 @@
#!/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