wok-tiny view bootris/receipt @ rev 180

Add boot-man, bootbricks, bootfbird, bootinvaders, bootmine, bootpillman, bootris, bootsokoban
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 20 13:08:44 2023 +0000 (7 months ago)
parents
children bbb34fe4904d
line source
1 # SliTaz package receipt.
3 PACKAGE="bootris"
4 VERSION="slitaz"
5 CATEGORY="games"
6 SHORT_DESC="Bootable Tetris game in a 512-byte boot sector."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="unknown"
9 #TARBALL="tetranglix.asm"
10 WEB_SITE="https://github.com/nanochess/tetranglix"
11 #WGET_URL="https://github.com/nanochess/tetranglix/raw/faebd443deaeedf9e7ac748c56f125d36531d2d4/tetranglix.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/tetranglix.asm -o $src/tetranglix.img -l $src/tetranglix.lst
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/boot
27 cp $src/tetranglix.img $fs/boot/$PACKAGE
28 }
30 # Post install/remove commands for Tazpkg.
31 post_install()
32 {
33 grep -qs ^bootris $1/boot/bootmenu ||
34 echo "bootris tetris Bootable tetris game (may run under DOS if renamed to tetris.com)" >> $1/boot/bootmenu
35 }