wok-6.x view BootProg/receipt @ rev 24477

updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author Hans-G?nter Theisgen
date Fri Feb 18 10:50:23 2022 +0100 (2022-02-18)
parents
children 04472f031354
line source
1 # SliTaz package receipt.
3 PACKAGE="BootProg"
4 VERSION="slitaz"
5 CATEGORY="base-system"
6 SHORT_DESC="FAT12/16/32 Bootsector for .COMs/.EXEs"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 #TARBALL="$PACKAGE-$VERSION.tar.zip"
10 WEB_SITE="https://wiki.osdev.org/BootProg"
11 #WGET_URL="$WEB_SITE/archive/refs/heads/master.zip"
13 BUILD_DEPENDS="nasm"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 for i in bootex boot16 boot32 ; do
19 nasm $stuff/$i.asm -f bin $i.bin -l $i.lst
20 done
21 sed '1,/^exit 1/!d' $stuff/bootprog.sh > bootprog
22 tar czf - boot16.bin boot32.bin bootex.bin > set.tar.gz
23 [ "$(which advdef)" ] && advdef -z4 set.tar.gz
24 cat set.tar.gz >> bootprog
25 chmod +x bootprog
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $src/bootprog $fs/usr/bin
33 }