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