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