wok-6.x annotate BootProg/receipt @ rev 24612
updated gnuplot (4.6.5 -> 5.4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 06 16:11:56 2022 +0100 (2022-03-06) |
parents | d77ab883a8b3 |
children | d1f31f5f6401 |
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@24476 | 11 BUILD_DEPENDS="nasm" |
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@24476 | 17 for i in bootex boot16 boot32 ; do |
pascal@24479 | 18 cp $stuff/$i.asm . |
pascal@24525 | 19 nasm $i.asm -f bin -o $i.bin -l $i.lst |
pascal@24476 | 20 done |
pascal@24476 | 21 sed '1,/^exit 1/!d' $stuff/bootprog.sh > bootprog |
pascal@24476 | 22 tar czf - boot16.bin boot32.bin bootex.bin > set.tar.gz |
pascal@24476 | 23 [ "$(which advdef)" ] && advdef -z4 set.tar.gz |
pascal@24476 | 24 cat set.tar.gz >> bootprog |
pascal@24476 | 25 chmod +x bootprog |
pascal@24476 | 26 } |
pascal@24476 | 27 |
pascal@24476 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@24476 | 29 genpkg_rules() |
pascal@24476 | 30 { |
pascal@24476 | 31 mkdir -p $fs/usr/bin |
pascal@24476 | 32 cp -a $src/bootprog $fs/usr/bin |
pascal@24476 | 33 } |