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