wok-next view slim/receipt @ rev 1212

Add missing CONFIG_FILES=
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 09 17:50:04 2008 +0000 (2008-08-09)
parents 794d395dbca2
children 302fa891a6d2
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i "s|/usr/X11R6/include|/usr/include/xorg|g" Makefile
19 sed -i "s|/usr/X11R6/|/usr/|g" Makefile
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/usr/share/slim
27 cp -a $src/slim $fs/usr/bin
29 # Config file and rc script (theme is in slitaz-configs).
30 cp -a stuff/etc $fs
31 chown -R root.root $fs
32 }
34 post_install()
35 {
36 ( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
37 $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
38 etc/slim.conf
39 EOT
40 }
42 repack_cleanup()
43 {
44 zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
45 }