wok-current view slitaz-boot-scripts/receipt @ rev 14657
Normalize LICENSE according to wok/licenses package (bsd part)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 05 16:21:04 2013 +0200 (2013-06-05) |
parents | d822db9c6f0b |
children | 10e6c72b2c15 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-boot-scripts"
4 VERSION="5.3.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 busybox"
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 chroot $1/ /usr/bin/rcSconf up
44 }