wok view slim/receipt @ rev 2043

Up: sqlite (3.6.10)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 16 19:29:31 2009 +0100 (2009-01-16)
parents 3423b5062c4f
children 73f6b06abab1
line source
1 # SliTaz package receipt.
3 PACKAGE="slim"
4 VERSION="1.3.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Desktop-independent graphical login manager for X11."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg jpeg libpng slitaz-configs"
9 BUILD_DEPENDS="xorg-dev jpeg-dev libpng-dev xorg-libXft-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://slim.berlios.de"
12 WGET_URL="http://download.berlios.de/slim/$TARBALL"
13 CONFIG_FILES="/etc/slim.conf"
14 BUGS="Sometime needs more than 10 seconds to start (since HAL/DCOP addition)."
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i "s|/usr/X11R6/include|/usr/include/xorg|g" Makefile
21 sed -i "s|/usr/X11R6/|/usr/|g" Makefile
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/usr/share/slim
29 cp -a $src/slim $fs/usr/bin
31 # Config file and rc script (theme is in slitaz-configs).
32 cp -a stuff/etc $fs
33 chown -R root.root $fs
34 }
36 post_install()
37 {
38 local USER
39 USER=$(awk -F: '/:1000:1000:/ { print $1 }' < $1/etc/passwd)
40 [ -n "$USER" ] &&
41 sed -i s/"default_user .*"/"default_user $USER"/ $1/etc/slim.conf
42 }