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