From 1c6757bd8a787d63f67dbacfd225fd6327338dc7 Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Sun, 15 Nov 2026 01:02:40 +0900 Subject: [PATCH] openkal-dos and openkal-dos-tools 0.1.0 (technical experiment only) --- pkgs/o/openkal-dos-tools.lua | 46 +++++++++++++++++++++++++++++++++++ pkgs/o/openkal-dos.lua | 47 ++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 pkgs/o/openkal-dos-tools.lua create mode 100644 pkgs/o/openkal-dos.lua diff --git a/pkgs/o/openkal-dos-tools.lua b/pkgs/o/openkal-dos-tools.lua new file mode 100644 index 00000000..e5144d09 --- /dev/null +++ b/pkgs/o/openkal-dos-tools.lua @@ -0,0 +1,46 @@ +-- openkal-dos-tools --- okdos, the seal of a DOS program (openkal-dos's stub +-- before an ELF32 i386 executable). A member of mcpplibs/openkal-dos (one tag, +-- one archive), named by openkal-platform's `[platform.tools]` and run as the +-- DOS row's link seal. Technical experiment only. +package = { + spec = "1", + namespace = "mcpplibs", + name = "openkal-dos-tools", + description = "okdos: seals an ELF32 i386 executable as a DOS program behind openkal-dos's DPMI stub (technical experiment only)", + licenses = {"Apache-2.0"}, + repo = "https://github.com/mcpplibs/openkal-dos", + type = "package", + + xpm = { + linux = { + ["0.1.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.1.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-dos/releases/download/0.1.0/openkal-dos-0.1.0.tar.gz", + }, + sha256 = "2214f353512e114b6fad44e7cfe5f711931a3baefa29de4310b95039d3192e23", + }, + }, + macosx = { + ["0.1.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.1.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-dos/releases/download/0.1.0/openkal-dos-0.1.0.tar.gz", + }, + sha256 = "2214f353512e114b6fad44e7cfe5f711931a3baefa29de4310b95039d3192e23", + }, + }, + windows = { + ["0.1.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.1.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-dos/releases/download/0.1.0/openkal-dos-0.1.0.tar.gz", + }, + sha256 = "2214f353512e114b6fad44e7cfe5f711931a3baefa29de4310b95039d3192e23", + }, + }, + }, + + -- The member's manifest, inside the tarball's wrap directory. + mcpp = "*/tools/mcpp.toml", +} diff --git a/pkgs/o/openkal-dos.lua b/pkgs/o/openkal-dos.lua new file mode 100644 index 00000000..6c2b2bf4 --- /dev/null +++ b/pkgs/o/openkal-dos.lua @@ -0,0 +1,47 @@ +-- openkal-dos --- openkal on DOS through DPMI. TECHNICAL EXPERIMENT ONLY (the +-- package's README): no stability, no support. A project names the target +-- `i686-dos-musl` with openkal-platform (0.28.0+), which selects this +-- implementation, seals the program with openkal-dos-tools' okdos and runs it +-- under DOSBox Staging through dirun. +package = { + spec = "1", + namespace = "mcpplibs", + name = "openkal-dos", + description = "An implementation of openkal on DOS through DPMI (technical experiment only)", + licenses = {"Apache-2.0"}, + repo = "https://github.com/mcpplibs/openkal-dos", + type = "package", + + xpm = { + linux = { + ["0.1.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.1.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-dos/releases/download/0.1.0/openkal-dos-0.1.0.tar.gz", + }, + sha256 = "2214f353512e114b6fad44e7cfe5f711931a3baefa29de4310b95039d3192e23", + }, + }, + macosx = { + ["0.1.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.1.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-dos/releases/download/0.1.0/openkal-dos-0.1.0.tar.gz", + }, + sha256 = "2214f353512e114b6fad44e7cfe5f711931a3baefa29de4310b95039d3192e23", + }, + }, + windows = { + ["0.1.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.1.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-dos/releases/download/0.1.0/openkal-dos-0.1.0.tar.gz", + }, + sha256 = "2214f353512e114b6fad44e7cfe5f711931a3baefa29de4310b95039d3192e23", + }, + }, + }, + + -- The package's own manifest, inside the tarball's wrap directory. + mcpp = "*/mcpp.toml", +}