wok-next view slitaz-boot-scripts/receipt @ rev 17751
gvim: add -ltinfo in LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 08 17:02:50 2015 +0100 (2015-03-08) |
parents | f2c53d996c53 |
children | bc475ac573d9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-boot-scripts"
4 VERSION="5.6.6"
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="
15 /etc/inittab
16 /etc/init.d/local.sh
17 /etc/rcS.conf
18 /etc/network.conf"
20 # Needed to fetch the keymaps and test the filesystem.
21 DEPENDS="kbd-base e2fsprogs busybox"
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 #
25 # This package is all build by genpkg, it provide the boot scripts found
26 # in /etc/init.d with the main config file : /etc/rcS.conf. It provide also
27 # the default inittab and the network config file used with network.sh
28 #
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $src/etc $fs
33 cp -a $src/bin $fs/usr
34 cp -a $src/init $fs
35 cp -a $src/applications $fs/usr/share
37 chown -R root.root $fs
38 chmod 755 $fs/etc/init.d/*.sh
39 chmod 755 $fs/etc/init.d/rc*
40 chmod 755 $fs/init
42 case "$ARCH" in
43 arm*)
44 # Provided by slitaz-arm-configs
45 rm \
46 $fs/etc/rcS.conf \
47 $fs/etc/inittab \
48 $fs/etc/init.d/rcS \
49 $fs/etc/init.d/rc.shutdown \
50 $fs/etc/init.d/system.sh ;;
51 esac
52 }
54 # Post install commands.
55 #
56 post_install()
57 {
58 case "$SLITAZ_ARCH" in
59 i?86) chroot $1/ /usr/bin/rcSconf up ;;
60 arm) if [ ! -d "/var/lib/tazpkg/installed/slitaz-arm-configs" ]; then
61 spk-add slitaz-arm-configs
62 fi ;;
63 esac
64 }