# SliTaz package receipt. PACKED_SIZE="16.0K" UNPACKED_SIZE="24.0K" PACKAGE="bootfbird" VERSION="slitaz" CATEGORY="games" SHORT_DESC="Bootable flappy bird game in a 512-byte boot sector." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="unknown" #TARBALL="fbird.asm" WEB_SITE="https://github.com/nanochess/fbird" #WGET_URL="https://github.com/nanochess/fbird/raw/6c96031645d57b3957f1b7f892d6aa2d14cd65d9/fbird.asm" TARGET="i486" BUILD_DEPENDS="nasm" # Rules to configure and make the package. compile_rules() { mkdir -p $src nasm -f bin $stuff/fbird.asm -o $src/fbird.img -l $src/fbird.lst } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/boot cp $src/fbird.img $fs/boot/fbird } # Post install/remove commands for Tazpkg. post_install() { grep -qs ^bootfbird $1/boot/bootmenu || echo "fbird Fbird,fbird,flappy,bird Flappy bird (may run under DOS if renamed to fbird.com)" >> $1/boot/bootmenu }