wok-current annotate slitaz-boot-scripts/receipt @ rev 12977
Up: slitaz-boot-scripts (5.1) colors, clean, speed, fixes and improvments
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 02 01:56:33 2012 +0200 (2012-06-02) |
parents | 8e557a05cf7f |
children | e8cae791f03f |
rev | line source |
---|---|
pankso@16 | 1 # SliTaz package receipt. |
pankso@16 | 2 |
pankso@16 | 3 PACKAGE="slitaz-boot-scripts" |
pankso@12977 | 4 VERSION="5.1" |
pankso@178 | 5 CATEGORY="base-system" |
pankso@16 | 6 SHORT_DESC="Provide all the initialisation scripts used at boot time." |
pankso@16 | 7 MAINTAINER="pankso@slitaz.org" |
gokhlayeh@8012 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16 | 9 WEB_SITE="http://www.slitaz.org/" |
pascal@12224 | 10 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz" |
pankso@12880 | 11 HOST_ARCH="i486 arm" |
pankso@12880 | 12 |
pascal@1269 | 13 CONFIG_FILES="/etc/inittab /etc/init.d/local.sh /etc/rcS.conf /etc/network.conf" |
pankso@16 | 14 |
pankso@12161 | 15 # Needed to fetch the keymaps and test the filesystem. |
pankso@12161 | 16 DEPENDS="kbd-base e2fsprogs" |
pankso@12161 | 17 |
pankso@16 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16 | 19 # |
pankso@16 | 20 # This package is all build by genpkg, it provide the boot scripts found |
pankso@16 | 21 # in /etc/init.d with the main config file : /etc/rcS.conf. It provide also |
pankso@16 | 22 # the default inittab and the network config file used with network.sh |
pankso@16 | 23 # |
pankso@16 | 24 genpkg_rules() |
pankso@16 | 25 { |
pankso@12977 | 26 mkdir -p $fs/usr/share |
pankso@16 | 27 cp -a $src/etc $fs |
pankso@12977 | 28 cp -a $src/bin $fs/usr |
pascal@11620 | 29 cp -a $src/init $fs |
pankso@396 | 30 cp -a $src/applications $fs/usr/share |
pankso@806 | 31 |
pankso@16 | 32 # Perms |
pankso@2787 | 33 chown -R root.root $fs |
pankso@16 | 34 chmod 755 $fs/etc/init.d/*.sh |
pankso@16 | 35 chmod 755 $fs/etc/init.d/rc* |
pascal@11620 | 36 chmod 755 $fs/init |
pankso@16 | 37 } |
pankso@16 | 38 |
pankso@12977 | 39 # Post install commands. |
pankso@16 | 40 # |
pankso@16 | 41 post_install() |
pankso@16 | 42 { |
pankso@12977 | 43 /usr/bin/rcSconf up |
pankso@16 | 44 } |