wok-next view slitaz-boot-scripts/receipt @ rev 13034

Add compiler & vnc tags
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 12 20:04:51 2012 +0200 (2012-06-12)
parents 8e557a05cf7f
children e8cae791f03f
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-boot-scripts"
4 VERSION="5.1"
5 CATEGORY="base-system"
6 SHORT_DESC="Provide all the initialisation scripts used at boot time."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.slitaz.org/"
10 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
11 HOST_ARCH="i486 arm"
13 CONFIG_FILES="/etc/inittab /etc/init.d/local.sh /etc/rcS.conf /etc/network.conf"
15 # Needed to fetch the keymaps and test the filesystem.
16 DEPENDS="kbd-base e2fsprogs"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 #
20 # This package is all build by genpkg, it provide the boot scripts found
21 # in /etc/init.d with the main config file : /etc/rcS.conf. It provide also
22 # the default inittab and the network config file used with network.sh
23 #
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $src/etc $fs
28 cp -a $src/bin $fs/usr
29 cp -a $src/init $fs
30 cp -a $src/applications $fs/usr/share
32 # Perms
33 chown -R root.root $fs
34 chmod 755 $fs/etc/init.d/*.sh
35 chmod 755 $fs/etc/init.d/rc*
36 chmod 755 $fs/init
37 }
39 # Post install commands.
40 #
41 post_install()
42 {
43 /usr/bin/rcSconf up
44 }