wok-tiny view bootpillman/receipt @ rev 182

Update bootpillman & bootsokoban
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 24 17:53:05 2023 +0000 (7 months ago)
parents e05af9592e8b
children 1e55ea7da8de
line source
1 # SliTaz package receipt.
3 PACKAGE="bootpillman"
4 VERSION="slitaz"
5 CATEGORY="games"
6 SHORT_DESC="Bootable graphic pacman game in a 512-byte boot sector."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="unknown"
9 #TARBALL="pillman.asm"
10 WEB_SITE="https://github.com/nanochess/Pillman"
11 #WGET_URL="https://github.com/nanochess/Pillman/raw/d3945524359134f7db890affe64742515b1d25bd/pillman.asm"
12 TARGET="i486"
14 BUILD_DEPENDS="nasm"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $src
20 nasm -f bin $stuff/pillman.asm -o $src/pillman.img -l $src/pillman.lst
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/boot
27 cp $src/pillman.img $fs/boot/pillman
28 }
30 # Post install/remove commands for Tazpkg.
31 post_install()
32 {
33 grep -qs ^bootpillman $1/boot/bootmenu ||
34 echo "pillman Pillman,pillman,pacman Pillman (may run under DOS if renamed to pillman.com)" >> $1/boot/bootmenu
35 }