wok-tiny diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/bootfbird/receipt Wed Sep 20 13:08:44 2023 +0000 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="bootfbird" 1.7 +VERSION="slitaz" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="Bootable flappy bird game in a 512-byte boot sector." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="unknown" 1.12 +#TARBALL="fbird.asm" 1.13 +WEB_SITE="https://github.com/nanochess/fbird" 1.14 +#WGET_URL="https://github.com/nanochess/fbird/raw/6c96031645d57b3957f1b7f892d6aa2d14cd65d9/fbird.asm" 1.15 +TARGET="i486" 1.16 + 1.17 +BUILD_DEPENDS="nasm" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + mkdir -p $src 1.23 + nasm -f bin $stuff/fbird.asm -o $src/fbird.img -l $src/fbird.lst 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/boot 1.30 + cp $src/fbird.img $fs/boot/$PACKAGE 1.31 +} 1.32 + 1.33 +# Post install/remove commands for Tazpkg. 1.34 +post_install() 1.35 +{ 1.36 + grep -qs ^bootfbird $1/boot/bootmenu || 1.37 + echo "bootfbird fbird Bootable flappy bird game (may run under DOS if renamed to fbird.com)" >> $1/boot/bootmenu 1.38 +}