wok view BootProg/receipt @ rev 24534

updated faac and faac-dev (1.29.9.2 -> 1.30)
author Hans-G?nter Theisgen
date Wed Feb 23 11:28:45 2022 +0100 (2022-02-23)
parents d211771a0500
children b9659e3c2111
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 mkdir -p $src && cd $src
19 for i in bootex boot16 boot32 ; do
20 cp $stuff/$i.asm .
21 nasm $i.asm -f bin -o $i.bin -l $i.lst
22 done
23 sed '1,/^exit 1/!d' $stuff/bootprog.sh > bootprog
24 tar czf - boot16.bin boot32.bin bootex.bin > set.tar.gz
25 [ "$(which advdef)" ] && advdef -z4 set.tar.gz
26 cat set.tar.gz >> bootprog
27 chmod +x bootprog
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/bootprog $fs/usr/bin
35 }