wok-tiny annotate bootpillman/receipt @ rev 180
Add boot-man, bootbricks, bootfbird, bootinvaders, bootmine, bootpillman, bootris, bootsokoban
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 20 13:08:44 2023 +0000 (8 months ago) |
parents | |
children | bbb34fe4904d |
rev | line source |
---|---|
pascal@180 | 1 # SliTaz package receipt. |
pascal@180 | 2 |
pascal@180 | 3 PACKAGE="bootpillman" |
pascal@180 | 4 VERSION="slitaz" |
pascal@180 | 5 CATEGORY="games" |
pascal@180 | 6 SHORT_DESC="Bootable graphic pacman game in a 512-byte boot sector." |
pascal@180 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@180 | 8 LICENSE="unknown" |
pascal@180 | 9 #TARBALL="pillman.asm" |
pascal@180 | 10 WEB_SITE="https://github.com/nanochess/Pillman" |
pascal@180 | 11 #WGET_URL="https://github.com/nanochess/Pillman/raw/d3945524359134f7db890affe64742515b1d25bd/pillman.asm" |
pascal@180 | 12 TARGET="i486" |
pascal@180 | 13 |
pascal@180 | 14 BUILD_DEPENDS="nasm" |
pascal@180 | 15 |
pascal@180 | 16 # Rules to configure and make the package. |
pascal@180 | 17 compile_rules() |
pascal@180 | 18 { |
pascal@180 | 19 mkdir -p $src |
pascal@180 | 20 nasm -f bin $stuff/pillman.asm -o $src/pillman.img -l $src/pillman.lst |
pascal@180 | 21 } |
pascal@180 | 22 |
pascal@180 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@180 | 24 genpkg_rules() |
pascal@180 | 25 { |
pascal@180 | 26 mkdir -p $fs/boot |
pascal@180 | 27 cp $src/pillman.img $fs/boot/$PACKAGE |
pascal@180 | 28 } |
pascal@180 | 29 |
pascal@180 | 30 # Post install/remove commands for Tazpkg. |
pascal@180 | 31 post_install() |
pascal@180 | 32 { |
pascal@180 | 33 grep -qs ^bootpillman $1/boot/bootmenu || |
pascal@180 | 34 echo "bootpillman pillman Bootable pillman game (may run under DOS if renamed to pillman.com)" >> $1/boot/bootmenu |
pascal@180 | 35 } |