wok-stable view syslinux/receipt @ rev 829

syslinux: fix keyboard, tip in splash screen
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 17 21:03:22 2008 +0000 (2008-05-17)
parents d6b2fcbc77d6
children 38e7dabd3c3e
line source
1 # SliTaz package receipt.
3 PACKAGE="syslinux"
4 VERSION="3.63"
5 CATEGORY="base-system"
6 SHORT_DESC="LiveCD ISO bootloader (isolinux)"
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://syslinux.zytor.com/"
10 WGET_URL="ftp://ftp.kernel.org/pub/linux/boot/syslinux/$TARBALL"
11 BUILD_DEPENDS="kbd-base perl"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 compile_rules()
15 {
16 cd $src
17 for i in /usr/share/kbd/keymaps/i386/*/*.map.gz; do
18 [ "$(basename $(dirname $i))" = "include" ] && continue
19 j=$(basename $i)
20 j=${j%.map.gz}.kbd
21 ./keytab-lilo.pl /usr/share/kbd/keymaps/i386/qwerty/us.map.gz $i > $j
22 done
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/boot/isolinux
29 cp -a $src/isolinux.bin $fs/boot/isolinux
30 cp -a $src/com32/modules/reboot.c32 $fs/boot/isolinux
31 cp stuff/* $fs/boot/isolinux
32 rm -r $fs/boot/isolinux/slitaz.* $fs/boot/isolinux/*.kbd 2> /dev/null
33 grep kbd$ $fs/boot/isolinux/*.cfg | while read cfg kbd; do
34 cfg=$(basename ${cfg%.cfg:*})
35 sed -i "s/$kbd/$cfg.kbd/" $fs/boot/isolinux/$cfg.cfg
36 cp $src/$kbd $fs/boot/isolinux/$cfg.kbd
37 done
38 chown root.root $fs/boot/isolinux/*
39 }