wok-6.x view slitaz-boot-scripts/receipt @ rev 15413

Up: thunderbird-langpack-de (17.0.9esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 03 21:52:33 2013 +0100 (2013-11-03)
parents 10e6c72b2c15
children e1886e11073d
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-boot-scripts"
4 VERSION="5.3.2"
5 CATEGORY="base-system"
6 SHORT_DESC="Provide all the initialisation scripts used at boot time."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
12 HOST_ARCH="i486 arm"
14 CONFIG_FILES="/etc/inittab /etc/init.d/local.sh /etc/rcS.conf /etc/network.conf"
16 # Needed to fetch the keymaps and test the filesystem.
17 DEPENDS="kbd-base e2fsprogs busybox"
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 #
21 # This package is all build by genpkg, it provide the boot scripts found
22 # in /etc/init.d with the main config file : /etc/rcS.conf. It provide also
23 # the default inittab and the network config file used with network.sh
24 #
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $src/etc $fs
29 cp -a $src/bin $fs/usr
30 cp -a $src/init $fs
31 cp -a $src/applications $fs/usr/share
33 # Perms
34 chown -R root.root $fs
35 chmod 755 $fs/etc/init.d/*.sh
36 chmod 755 $fs/etc/init.d/rc*
37 chmod 755 $fs/init
38 }
40 # Post install commands.
41 #
42 post_install()
43 {
44 chroot $1/ /usr/bin/rcSconf up
45 }