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 termux-user-repository#1146
Closes termux/termux-packages#1605
  • Loading branch information
stsp committed Jan 1, 2025
1 parent 23a54d3 commit 7d59008
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions tur/dosemu2/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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
_COMMIT=58cd68c2bbbf1976bbb80d39c4ddd8edd2dd93ea
TERMUX_PKG_SHA256=56018290479c8adc0513d41c21089cb649014ba0a48826bba3e9e476d2eac709
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.gz HEAD | sha256sum)
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 7d59008

Please sign in to comment.