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