wok-next annotate 8086tiny/receipt @ rev 21203
updated airgeddon (3.31 -> 8.12)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 02 07:58:03 2019 +0100 (2019-12-02) |
parents | d2950281f122 |
children |
rev | line source |
---|---|
al@20519 | 1 # SliTaz package receipt v2. |
pascal@15802 | 2 |
pascal@15802 | 3 PACKAGE="8086tiny" |
pascal@16166 | 4 VERSION="1.25" |
al@20519 | 5 COMMIT="c79ca2a" # no releases there in Github |
pascal@15802 | 6 CATEGORY="system-tools" |
al@20519 | 7 SHORT_DESC="PC XT-compatible emulator/virtual machine" |
pascal@15802 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15823 | 9 LICENSE="MIT" |
al@20519 | 10 WEB_SITE="https://github.com/adriancable/8086tiny" |
pascal@15802 | 11 |
al@20519 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20519 | 13 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" |
al@20519 | 14 |
al@21087 | 15 BUILD_DEPENDS="sdl-dev nasm" |
pascal@15802 | 16 |
al@20519 | 17 compile_rules() { |
al@20956 | 18 make CC=gcc no_graphics && |
al@20956 | 19 mv 8086tiny 8086tiny.nographics && |
al@20956 | 20 make CC=gcc && |
al@20956 | 21 nasm bios_source/bios.asm || return 1 |
al@20519 | 22 |
al@20519 | 23 install -Dm755 $src/8086tiny $install/usr/bin/8086tiny |
al@20519 | 24 [ -x "$src/8086tiny.nographics" ] && |
al@20519 | 25 install -Dm755 $src/8086tiny.nographics $install/usr/bin/8086tiny.nographics |
al@20519 | 26 install -Dm755 $stuff/8086tiny.sh $install/usr/bin/8086tiny.sh |
al@20519 | 27 install -Dm644 $src/bios_source/bios $install/usr/share/8086tiny/bios |
pascal@15802 | 28 } |
pascal@15802 | 29 |
pankso@16179 | 30 testsuite() { |
al@20519 | 31 readelf -Ah $src/8086tiny |
pankso@16179 | 32 } |
pankso@16179 | 33 |
al@20519 | 34 genpkg_rules() { |
al@20519 | 35 copy @std |
al@21087 | 36 DEPENDS="sdl" |
al@20519 | 37 TAGS="emulator 8086" |
pascal@15802 | 38 } |