wok view slim/receipt @ rev 1699

Add: get-eclipse-pdt, get and install eclipse PDT
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Nov 13 00:04:59 2008 +0100 (2008-11-13)
parents f25290110550
children fade386d1cf6
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 thant 10 seconds to start (since HAL/DCOP addition). Why ?"
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 ( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
39 $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
40 etc/slim.conf
41 EOT
42 }
44 repack_cleanup()
45 {
46 zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
47 }