wok-tiny annotate boot-man/receipt @ rev 183

linux: fix bundle.S
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 26 17:09:38 2023 +0000 (8 months ago)
parents bbb34fe4904d
children
rev   line source
pascal@180 1 # SliTaz package receipt.
pascal@180 2
pascal@180 3 PACKAGE="boot-man"
pascal@180 4 VERSION="slitaz"
pascal@180 5 CATEGORY="games"
pascal@183 6 GROUP="games"
pascal@180 7 SHORT_DESC="Bootable text pacman game in a 512-byte boot sector."
pascal@180 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@180 9 LICENSE="unknown"
pascal@180 10 #TARBALL="boot-man.asm"
pascal@180 11 WEB_SITE="https://github.com/guyhill/Boot-Man"
pascal@180 12 #WGET_URL="https://github.com/guyhill/Boot-Man/raw/b51fccd9e8974db434c8a40ced133ec0fc5f1b80/boot-man.asm"
pascal@180 13
pascal@180 14 TARGET="i486"
pascal@180 15
pascal@180 16 BUILD_DEPENDS="nasm"
pascal@180 17
pascal@180 18 # Rules to configure and make the package.
pascal@180 19 compile_rules()
pascal@180 20 {
pascal@180 21 mkdir -p $src
pascal@180 22 nasm -f bin $stuff/boot-man.asm -o $src/boot-man.img -l $src/boot-man.lst
pascal@180 23 }
pascal@180 24
pascal@180 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@180 26 genpkg_rules()
pascal@180 27 {
pascal@180 28 mkdir -p $fs/boot
pascal@182 29 cp $src/boot-man.img $fs/boot/pacman
pascal@180 30 }
pascal@180 31
pascal@180 32 # Post install/remove commands for Tazpkg.
pascal@180 33 post_install()
pascal@180 34 {
pascal@180 35 grep -qs ^boot-man $1/boot/bootmenu ||
pascal@182 36 echo "pacman Pacman,pacman Pacman (may run under DOS if renamed to pacman.com)" >> $1/boot/bootmenu
pascal@180 37 }