diff --git a/app-emulation/dos32a/Manifest b/app-emulation/dos32a/Manifest new file mode 100644 index 0000000..29c7c4f --- /dev/null +++ b/app-emulation/dos32a/Manifest @@ -0,0 +1 @@ +DIST dos32a-912-bin.zip 215399 BLAKE2B 9676cd2cc584215836a688e5b13c8025d85c3b0892c302490ef74e54314a2a53bcdd94dc476c44142e2350cba09d5e27297f59a3ead8d1521bc7cc308396be4c SHA512 1a61f63d3c7c8b8cebd9a6216229b138c82b37d477318f81ccc55d1f8ab2acd7bf222e59d1521a427fa85c8f94ed817cdfb3f8dabaca09532608089f8063af78 diff --git a/app-emulation/dos32a/dos32a-9.1.2.ebuild b/app-emulation/dos32a/dos32a-9.1.2.ebuild new file mode 100644 index 0000000..bfaa2f3 --- /dev/null +++ b/app-emulation/dos32a/dos32a-9.1.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Free software re-implementation of Tenberry Software DOS4GW, a DOS extender that allows to take full advantage of all physical memory under protected mode." +HOMEPAGE="https://dos32a.narechk.net/content/main.html" + +LICENSE="Apache-1.1-sans-Apache" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc64 ~arm" + +#SRC_URI="http://download.narechk.net/dos32a-912-bin.zip http://download.narechk.net/dos32a-912-src.zip" +SRC_URI="http://download.narechk.net/dos32a-912-bin.zip" + +IUSE="+binary" + +BDEPEND=" + app-arch/unzip +" + +RDEPEND="" + +DEPEND="${RDEPEND}" + +S=${WORKDIR} + +src_unpack() { + if ! use binary; then + die "Building DOS32A from source is not yet supported. Come back when we have an adequate DOS toolchain." + else + unzip -jd . "${DISTDIR}"/dos32a-912-bin.zip binw/* + fi +} + +src_install() { + insinto /usr/share/dos32a + doins *.exe +} diff --git a/licenses/Apache-1.1-sans-Apache b/licenses/Apache-1.1-sans-Apache new file mode 100644 index 0000000..803fc73 --- /dev/null +++ b/licenses/Apache-1.1-sans-Apache @@ -0,0 +1,38 @@ +Apache 1.1 Sans Apache Software License +======================================= + +Copyright (C) ${years} by ${author} All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +3. The end-user documentation included with the redistribution, if any, +must include the following acknowledgment: + +"This product uses ${tech_name} technology." + +Alternately, this acknowledgment may appear in the software itself, if +and wherever such third-party acknowledgments normally appear. + +4. Products derived from this software may not be called "${software_name}" or +"${other_name}". + +THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS" AND ANY EXPRESSED +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.