wok-next view 8086tiny/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d2950281f122 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="8086tiny"
4 VERSION="1.25"
5 COMMIT="c79ca2a" # no releases there in Github
6 CATEGORY="system-tools"
7 SHORT_DESC="PC XT-compatible emulator/virtual machine"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/adriancable/8086tiny"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz"
15 BUILD_DEPENDS="sdl-dev nasm"
17 compile_rules() {
18 make CC=gcc no_graphics &&
19 mv 8086tiny 8086tiny.nographics &&
20 make CC=gcc &&
21 nasm bios_source/bios.asm || return 1
23 install -Dm755 $src/8086tiny $install/usr/bin/8086tiny
24 [ -x "$src/8086tiny.nographics" ] &&
25 install -Dm755 $src/8086tiny.nographics $install/usr/bin/8086tiny.nographics
26 install -Dm755 $stuff/8086tiny.sh $install/usr/bin/8086tiny.sh
27 install -Dm644 $src/bios_source/bios $install/usr/share/8086tiny/bios
28 }
30 testsuite() {
31 readelf -Ah $src/8086tiny
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="sdl"
37 TAGS="emulator 8086"
38 }