From 7c342df11130a43b45f4b16b9a8f6b72ec81cdf9 Mon Sep 17 00:00:00 2001 From: Stas Sergeev Date: Mon, 23 Dec 2024 14:37:52 +0300 Subject: [PATCH] new package: dosemu2 Run DOS programs under linux. Closes https://github.com/termux-user-repository/tur/pull/1146 Closes https://github.com/termux/termux-packages/issues/1605 --- tur/dosemu2/build.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tur/dosemu2/build.sh diff --git a/tur/dosemu2/build.sh b/tur/dosemu2/build.sh new file mode 100644 index 000000000..d543acc9b --- /dev/null +++ b/tur/dosemu2/build.sh @@ -0,0 +1,17 @@ +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.git +TERMUX_PKG_GIT_BRANCH=devel +TERMUX_PKG_AUTO_UPDATE=true +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" +# LTO breaks on i386 build +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-lto" + +termux_step_pre_configure() { + cd $TERMUX_PKG_SRCDIR + ./autogen.sh +}