wok-current view BootProg/receipt @ rev 24836

updated libtasn1 and libtasn1-dev (4.16.0 -> 4.18.0)
author Hans-G?nter Theisgen
date Fri Mar 25 07:25:04 2022 +0100 (2022-03-25)
parents d77ab883a8b3
children d1f31f5f6401
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 WEB_SITE="https://wiki.osdev.org/BootProg"
11 BUILD_DEPENDS="nasm"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mkdir -p $src && cd $src
17 for i in bootex boot16 boot32 ; do
18 cp $stuff/$i.asm .
19 nasm $i.asm -f bin -o $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 }