wok view slim/receipt @ rev 1394
Up: pcmciautils 3.0.1, fix: BUILD_DEPNEDS
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Sep 17 23:55:57 2008 +0200 (2008-09-17) |
parents | 534023d6e005 |
children | f25290110550 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slim"
4 VERSION="1.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Desktop-independent graphical login manager for X11."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="jpeg libpng slitaz-configs"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://slim.berlios.de"
11 WGET_URL="http://download.berlios.de/slim/$TARBALL"
12 CONFIG_FILES="/etc/slim.conf"
13 BUGS="Sometime needs more thant 10 seconds to start (since HAL/DCOP addition). Why ?"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i "s|/usr/X11R6/include|/usr/include/xorg|g" Makefile
20 sed -i "s|/usr/X11R6/|/usr/|g" Makefile
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/share/slim
28 cp -a $src/slim $fs/usr/bin
30 # Config file and rc script (theme is in slitaz-configs).
31 cp -a stuff/etc $fs
32 chown -R root.root $fs
33 }
35 post_install()
36 {
37 ( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
38 $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
39 etc/slim.conf
40 EOT
41 }
43 repack_cleanup()
44 {
45 zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
46 }