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

Check Repology info from q* to x* packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 14 17:43:03 2018 +0300 (2018-07-14)
parents c4e53a39395a
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-boot-scripts"
4 VERSION="444"
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 WEB_SITE="http://www.slitaz.org/"
10 REPOLOGY="-"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.bz2"
15 CONFIG_FILES="
16 /etc/inittab
17 /etc/init.d/local.sh
18 /etc/rcS.conf
19 /etc/network.conf"
21 # Needed to fetch the keymaps and test the filesystem.
22 DEPENDS="kbd-base e2fsprogs busybox slitaz-tools"
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 #
26 # This package is all build by genpkg, it provide the boot scripts found
27 # in /etc/init.d with the main config file /etc/rcS.conf. It provide also
28 # the default inittab and the network config file used with network.sh
29 #
30 genpkg_rules()
31 {
32 cp -a $src/etc $fs
33 cp -a $src/usr $fs
34 cp -a $src/init $fs
36 chown -R root.root $fs
37 chmod 755 $fs/etc/init.d/*.sh
38 chmod 755 $fs/etc/init.d/rc*
39 chmod 755 $fs/init
41 case "$ARCH" in
42 arm*)
43 # Provided by slitaz-arm-configs
44 rm \
45 $fs/etc/rcS.conf \
46 $fs/etc/inittab \
47 $fs/etc/init.d/rcS \
48 $fs/etc/init.d/rc.shutdown \
49 $fs/etc/init.d/system.sh
50 ;;
51 esac
52 }
54 # Post install commands.
55 #
56 post_install()
57 {
58 case "$SLITAZ_ARCH" in
59 i?86)
60 echo
61 chroot "$1/" /usr/bin/rcSconf up ;;
62 arm)
63 if [ ! -d "/var/lib/tazpkg/installed/slitaz-arm-configs" ]; then
64 spk-add slitaz-arm-configs
65 fi ;;
66 esac
67 }