# SliTaz package receipt. PACKED_SIZE="16.0K" UNPACKED_SIZE="24.0K" PACKAGE="bootmine" VERSION="1.1.1-slitaz" CATEGORY="games" SHORT_DESC="Bootable minesweeper game in a 512-byte boot sector." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" WEB_SITE="https://github.com/io12/BootMine" #TARBALL="$PACKAGE-$VERSION.tar.gz" #WGET_URL="https://github.com/io12/BootMine/archive/refs/tags/$VERSION.tar.gz" TARGET="i486" BUILD_DEPENDS="nasm" # Rules to configure and make the package. compile_rules() { mkdir -p $src nasm -o $src/mine.com -l $src/mine.lst $stuff/mine.asm } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/boot cp $src/mine.com $fs/boot/mine } # Post install/remove commands for Tazpkg. post_install() { grep -qs ^bootmine $1/boot/bootmenu || echo "mine Mine,mine Mine sweeper (may run under DOS if renamed to mine.com)" >> $1/boot/bootmenu }