wok-4.x view slim/receipt @ rev 1198

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