wok-6.x annotate syslinux-modules/receipt @ rev 25104

Up klavaro (1.2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 08:45:04 2022 +0000 (2022-06-22)
parents 087d71ec38ce
children 73f36875e5a7
rev   line source
pascal@1716 1 # SliTaz package receipt.
pascal@1716 2
pascal@1716 3 PACKAGE="syslinux-modules"
pascal@13546 4 VERSION="4.06"
pascal@1716 5 CATEGORY="system-tools"
pascal@3665 6 SHORT_DESC="modules for syslinux"
pascal@1716 7 MAINTAINER="pankso@slitaz.org"
pascal@14658 8 LICENSE="GPL2"
pascal@1716 9 WANTED="syslinux"
pascal@1716 10 WEB_SITE="http://syslinux.zytor.com/"
pascal@1716 11 BUILD_DEPENDS="lzma"
pascal@1716 12
pascal@1716 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1716 14 genpkg_rules()
pascal@1716 15 {
pascal@1716 16 mkdir -p $fs/usr/share/boot
pascal@3665 17 for i in $src/com32/*/*.c32 ; do
pascal@3665 18 case "$i" in
pascal@23944 19 */reboot.c32|*/ifmem.c32|*/vesamenu.c32|*/chain.c32) continue;;
pascal@3665 20 esac
pascal@19428 21 lzma e $i $fs/usr/share/boot/$(basename $i) 2> /dev/null
pascal@3665 22 done
pascal@3665 23 for i in $src/modules/*.com ; do
pascal@3665 24 case "$i" in
pascal@3665 25 */poweroff.com) continue;;
pascal@3665 26 esac
pascal@3665 27 cp $i $fs/usr/share/boot/$(basename $i) 2> /dev/null
pascal@1716 28 done
pascal@1716 29 }