wok-6.x diff slitaz-fbsplash/receipt @ rev 9192
Remove conspy: now provided by busybox
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 09 18:32:34 2011 +0100 (2011-03-09) |
parents | |
children | 0890cd592d36 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slitaz-fbsplash/receipt Wed Mar 09 18:32:34 2011 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="slitaz-fbsplash" 1.7 +VERSION="1.0" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="SliTaz theme and config for Busybox fbsplash (graphical boot)" 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="busybox slitaz-boot-scripts" 1.12 +WEB_SITE="http://www.slitaz.org/" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/bin $fs/etc/fbsplash/slitaz 1.18 + cp $stuff/tazfbsplash $fs/usr/bin 1.19 + cp -a $stuff/fbsplash.cfg $fs/etc/fbsplash/slitaz 1.20 + cp -a $stuff/fbsplash.ppm $fs/etc/fbsplash/slitaz 1.21 + mkfifo $fs/etc/fbsplash/fifo 1.22 +} 1.23 + 1.24 +post_install() 1.25 +{ 1.26 + [ ! `grep "rcS > /dev/null" $1/etc/inittab` ] && \ 1.27 + sed -i s'/rcS/rcS > \/dev\/null/' $1/etc/inittab 1.28 + sed -i s'/FBSPLASH="no"/FBSPLASH="yes"/' $1/etc/rcS.conf 1.29 + # Config may not yet exist. 1.30 + if ! grep -q ^FBSPLASH $1/etc/rcS.conf; then 1.31 + cat >> $1/etc/rcS.conf << EOT 1.32 + 1.33 +# Graphical boot with fbsplash (To configure please use: tazfbsplash) 1.34 +FBSPLASH="yes" 1.35 +FBSPLASH_THEME="slitaz" 1.36 +EOT 1.37 + fi 1.38 +} 1.39 + 1.40 +post_remove() 1.41 +{ 1.42 + sed -i s'/rcS > \/dev\/null/rcS/' $1/etc/inittab 1.43 + sed -i s'/FBSPLASH="yes"/FBSPLASH="no"/' $1/etc/rcS.conf 1.44 +}