# HG changeset patch # User Aleksej Bobylev # Date 1443879386 -10800 # Node ID 325d6b98268cdef0bfb00deb3230b2a2518c7c8b # Parent 78c5e0c52eb63140c567982eb43116f42d08266e syslinux: receipt formatting (Pascal already removed lines, so it is :) help.en: 4000 -> 5000 packages diff -r 78c5e0c52eb6 -r 325d6b98268c syslinux/receipt --- a/syslinux/receipt Sat Oct 03 15:13:46 2015 +0200 +++ b/syslinux/receipt Sat Oct 03 16:36:26 2015 +0300 @@ -10,6 +10,7 @@ WEB_SITE="http://syslinux.zytor.com/" WGET_URL="https://www.kernel.org/pub/linux/utils/boot/syslinux/$TARBALL" CONFIG_FILES="/boot/isolinux" +TAGS="boot" DEPENDS="ipxe memtest" BUILD_DEPENDS="wget kbd-base perl nasm dev86 lzma mingw32-gcc upx posixovl \ @@ -18,49 +19,49 @@ # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { - rm -f $src/core/isolinux.bin - patch -p 0 < $stuff/extra/iso9660.u - patch -p 0 < $stuff/extra/readconfig.u - #patch -p 0 < $stuff/extra/fs.u - cp $stuff/tools/isohybrid.sh . - cp $stuff/extra/md5sum.c com32/modules - grep -q md5sum.c32 com32/modules/Makefile || - sed -i 's/ifcpu64.c32/ifcpu64.c32 md5sum.c32/' com32/modules/Makefile - export LDFLAGS="" - make clean - echo "make all: LDFLAGS=$LDFLAGS" - make all 2>&1 | sed 's/NO_WERROR=1/NO_Werror=1/;/syslinux64.exe/d' - echo "make core: LDFLAGS=$LDFLAGS" - make -C core - make -C com32 - ./isohybrid.sh --build - sed -i 's/loadkeys -m/loadkeys -u -m/' utils/keytab-lilo # for ru.kbd - for i in /usr/share/kbd/keymaps/i386/*/*.map.gz; do - [ "$(basename $(dirname $i))" = "include" ] && continue - j=$(basename $i) - j=${j%.map.gz}.kbd - utils/keytab-lilo /usr/share/kbd/keymaps/i386/qwerty/us.map.gz $i > $j - done - cp -a $stuff/iso2exe . - make -C iso2exe + rm -f $src/core/isolinux.bin + patch -p 0 < $stuff/extra/iso9660.u + patch -p 0 < $stuff/extra/readconfig.u + #patch -p 0 < $stuff/extra/fs.u + cp $stuff/tools/isohybrid.sh . + cp $stuff/extra/md5sum.c com32/modules + grep -q md5sum.c32 com32/modules/Makefile || + sed -i 's/ifcpu64.c32/ifcpu64.c32 md5sum.c32/' com32/modules/Makefile + export LDFLAGS='' + make clean + echo "make all: LDFLAGS=$LDFLAGS" + make all 2>&1 | sed 's/NO_WERROR=1/NO_Werror=1/;/syslinux64.exe/d' + echo "make core: LDFLAGS=$LDFLAGS" + make -C core + make -C com32 + ./isohybrid.sh --build + sed -i 's/loadkeys -m/loadkeys -u -m/' utils/keytab-lilo # for ru.kbd + for i in /usr/share/kbd/keymaps/i386/*/*.map.gz; do + [ "$(basename $(dirname $i))" == 'include' ] && continue + j=$(basename $i) + j=${j%.map.gz}.kbd + utils/keytab-lilo /usr/share/kbd/keymaps/i386/qwerty/us.map.gz $i > $j + done + cp -a $stuff/iso2exe . + make -C iso2exe } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/boot/isolinux - cp -a $src/core/isolinux.bin $fs/boot/isolinux - cp -a $src/com32/modules/md5sum.c32 $fs/boot/isolinux/c32box.c32 - cp -a $src/com32/menu/vesamenu.c32 $fs/boot/isolinux - # $stuff/isolinux.msg is the old way the have a splash image. - cp $stuff/*.cfg $stuff/*.txt $stuff/help.* $stuff/opts.* $fs/boot/isolinux - rm -f $fs/boot/isolinux/common.cfg $fs/boot/isolinux/default.cfg - rm -f $fs/boot/isolinux/display.txt - ( cd $src ; ls *.kbd | cpio -o -H newc ) > $fs/boot/isolinux/cpio.kbd - while read label kbd loc menu; do - for i in ${kbd/,/ }; do - [ -e $src/$i.kbd ] || continue - cat >> $fs/boot/isolinux/i18n.cfg < $fs/boot/isolinux/cpio.kbd + while read label kbd loc menu; do + for i in ${kbd/,/ }; do + [ -e $src/$i.kbd ] || continue + cat >> $fs/boot/isolinux/i18n.cfg <> $fs/boot/isolinux/i18n.cfg <> $fs/boot/isolinux/i18n.cfg < Display this help file Display SliTaz boot options