Skip to content

Commit

Permalink
new package: dosemu2
Browse files Browse the repository at this point in the history
Run DOS programs under linux.

Closes #1146
Closes termux/termux-packages#1605
  • Loading branch information
stsp authored and licy183 committed Jan 1, 2025
1 parent 79484b4 commit 039b79f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions tur/dosemu2/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
TERMUX_PKG_HOMEPAGE=https://github.com/dosemu2/dosemu2
TERMUX_PKG_DESCRIPTION="Run DOS programs under linux."
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@stsp"
TERMUX_PKG_VERSION="2.0pre9-git"
TERMUX_PKG_SRCURL=git+https://github.com/dosemu2/dosemu2
TERMUX_PKG_GIT_BRANCH=devel
_COMMIT=58cd68c2bbbf1976bbb80d39c4ddd8edd2dd93ea
TERMUX_PKG_SHA256=e2fcd6e79091442f22fc61f24cac3c9e21dbe47df31ca3ae3f65b8dc457c3c72
TERMUX_PKG_BUILD_DEPENDS="libandroid-posix-semaphore, libandroid-glob, slang, libao, fluidsynth, ladspa-sdk, libslirp, libbsd, readline, json-c, libseccomp, libsearpc, fdpp, dj64dev"
TERMUX_PKG_DEPENDS="fdpp, dj64dev, comcom64"

termux_step_post_get_source() {
git checkout $_COMMIT
local s=$(git archive --format=tar HEAD | sha256sum -b)
if [[ "${s}" != "${TERMUX_PKG_SHA256} "* ]]; then
termux_error_exit "Checksum mismatch for source files."
fi
}

termux_step_pre_configure() {
cd $TERMUX_PKG_SRCDIR
./autogen.sh
}

0 comments on commit 039b79f

Please sign in to comment.