wok-tiny annotate bootfbird/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="bootfbird"
pascal@180 4 VERSION="slitaz"
pascal@180 5 CATEGORY="games"
pascal@180 6 SHORT_DESC="Bootable flappy bird game in a 512-byte boot sector."
pascal@180 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@180 8 LICENSE="unknown"
pascal@180 9 #TARBALL="fbird.asm"
pascal@180 10 WEB_SITE="https://github.com/nanochess/fbird"
pascal@180 11 #WGET_URL="https://github.com/nanochess/fbird/raw/6c96031645d57b3957f1b7f892d6aa2d14cd65d9/fbird.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/fbird.asm -o $src/fbird.img -l $src/fbird.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/fbird.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 ^bootfbird $1/boot/bootmenu ||
pascal@180 34 echo "bootfbird fbird Bootable flappy bird game (may run under DOS if renamed to fbird.com)" >> $1/boot/bootmenu
pascal@180 35 }