wok annotate syslinux/receipt @ rev 786
Up syslinux syslinux-extra 3.63, build *.kbd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 13 14:34:20 2008 +0000 (2008-05-13) |
parents | 395544099604 |
children | 97526a91fabb |
rev | line source |
---|---|
pankso@4 | 1 # SliTaz package receipt. |
pankso@4 | 2 |
pankso@4 | 3 PACKAGE="syslinux" |
pascal@786 | 4 VERSION="3.63" |
pankso@4 | 5 CATEGORY="base-system" |
pankso@4 | 6 SHORT_DESC="LiveCD ISO bootloader (isolinux)" |
pankso@4 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4 | 9 WEB_SITE="http://syslinux.zytor.com/" |
pankso@4 | 10 WGET_URL="ftp://ftp.kernel.org/pub/linux/boot/syslinux/$TARBALL" |
pascal@786 | 11 BUILD_DEPENDS="kbd-base perl" |
pascal@786 | 12 |
pascal@786 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@786 | 14 compile_rules() |
pascal@786 | 15 { |
pascal@786 | 16 cd $src |
pascal@786 | 17 sed "s|\\\$DEFAULT_PATH = .*|\$DEFAULT_PATH = \"$PWD\";|" \ |
pascal@786 | 18 > mkkbd < keytab-lilo.pl |
pascal@786 | 19 chmod +x mkkbd |
pascal@786 | 20 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do |
pascal@786 | 21 [ "$(dirname $i)" = "include" ] && continue |
pascal@786 | 22 j=$(basename $i) |
pascal@786 | 23 zcat /usr/share/kbd/keymaps/i386/$i > ${j%.gz} |
pascal@786 | 24 done |
pascal@786 | 25 for i in $(ls *.map); do |
pascal@786 | 26 i=$(basename $i) |
pascal@786 | 27 i=${i%.map} |
pascal@786 | 28 ./mkkbd $i > $i.kbd |
pascal@786 | 29 done |
pascal@786 | 30 } |
pankso@4 | 31 |
pankso@4 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4 | 33 genpkg_rules() |
pankso@4 | 34 { |
pankso@4 | 35 mkdir -p $fs/boot/isolinux |
pascal@786 | 36 cp -a $src/isolinux.bin $fs/boot/isolinux |
pascal@786 | 37 cp -a $src/com32/modules/reboot.c32 $fs/boot/isolinux |
pascal@227 | 38 cp stuff/* $fs/boot/isolinux |
pascal@786 | 39 rm -r $fs/boot/isolinux/slitaz.* $fs/boot/isolinux/*.kbd 2> /dev/null |
pascal@786 | 40 for i in $(grep kbd$ $fs/boot/isolinux/*.cfg | cut -d' ' -f2); do |
pascal@786 | 41 cp $src/$i $fs/boot/isolinux |
pascal@786 | 42 done |
pascal@283 | 43 chown root.root $fs/boot/isolinux/* |
pankso@4 | 44 } |
pascal@786 | 45 |