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