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