wok-6.x diff BootProg/receipt @ rev 24476

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 18 09:29:30 2022 +0000 (2022-02-18)
parents
children 04472f031354
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/BootProg/receipt	Fri Feb 18 09:29:30 2022 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="BootProg"
     1.7 +VERSION="slitaz"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="FAT12/16/32 Bootsector for .COMs/.EXEs"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +#TARBALL="$PACKAGE-$VERSION.tar.zip"
    1.13 +WEB_SITE="https://wiki.osdev.org/BootProg"
    1.14 +#WGET_URL="$WEB_SITE/archive/refs/heads/master.zip"
    1.15 +
    1.16 +BUILD_DEPENDS="nasm"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	for i in bootex boot16 boot32 ; do
    1.22 +		nasm $stuff/$i.asm -f bin $i.bin -l $i.lst
    1.23 +	done
    1.24 +	sed '1,/^exit 1/!d' $stuff/bootprog.sh > bootprog
    1.25 +	tar czf - boot16.bin boot32.bin bootex.bin > set.tar.gz
    1.26 +	[ "$(which advdef)" ] && advdef -z4 set.tar.gz
    1.27 +	cat set.tar.gz >> bootprog
    1.28 +	chmod +x bootprog
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr/bin
    1.35 +	cp -a $src/bootprog $fs/usr/bin
    1.36 +}