wok-6.x annotate BootProg/receipt @ rev 25193
updated python-genshi (0.7.3 -> 0.7.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:42:47 2022 +0100 (2022-07-13) |
parents | b9659e3c2111 |
children | 78727b04c002 |
rev | line source |
---|---|
pascal@24476 | 1 # SliTaz package receipt. |
pascal@24476 | 2 |
pascal@24476 | 3 PACKAGE="BootProg" |
pascal@24476 | 4 VERSION="slitaz" |
pascal@24476 | 5 CATEGORY="base-system" |
pascal@24476 | 6 SHORT_DESC="FAT12/16/32 Bootsector for .COMs/.EXEs" |
pascal@24476 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@24476 | 8 LICENSE="MIT" |
pascal@24476 | 9 WEB_SITE="https://wiki.osdev.org/BootProg" |
pascal@24476 | 10 |
pascal@24942 | 11 BUILD_DEPENDS="nasm lzma" |
pascal@24476 | 12 |
pascal@24476 | 13 # Rules to configure and make the package. |
pascal@24476 | 14 compile_rules() |
pascal@24476 | 15 { |
pascal@24479 | 16 mkdir -p $src && cd $src |
pascal@24942 | 17 sed '1,/^exit 1/!d' $stuff/bootprog.sh > bootprog |
pascal@24942 | 18 for i in boot16 boot32 bootex ; do |
pascal@24479 | 19 cp $stuff/$i.asm . |
pascal@24942 | 20 nasm $i.asm -f bin -o $i.bin -l $i.lst && cat $i.bin |
pascal@24942 | 21 done | lzma -9 >> bootprog |
pascal@24476 | 22 chmod +x bootprog |
pascal@24476 | 23 } |
pascal@24476 | 24 |
pascal@24476 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@24476 | 26 genpkg_rules() |
pascal@24476 | 27 { |
pascal@24476 | 28 mkdir -p $fs/usr/bin |
pascal@24476 | 29 cp -a $src/bootprog $fs/usr/bin |
pascal@24476 | 30 } |