2024-05-09 09:17:29 +02:00
|
|
|
# Copyright 1999-2024 Gentoo Authors
|
2020-04-18 14:28:21 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2024-05-09 09:17:29 +02:00
|
|
|
EAPI=8
|
2020-04-18 14:28:21 +02:00
|
|
|
|
2020-04-19 20:49:44 +02:00
|
|
|
DESCRIPTION="Free replacement for DOS4GW."
|
2024-05-09 09:17:29 +02:00
|
|
|
HOMEPAGE="https://web.archive.org/web/20210726190857/https://dos32a.narechk.net/index_en.html"
|
|
|
|
SRC_URI="
|
|
|
|
https://github.com/grepwood/${PN}/releases/download/${P//.}/${P//.}-bin.zip
|
|
|
|
"
|
|
|
|
S=${WORKDIR}
|
2020-04-18 14:28:21 +02:00
|
|
|
LICENSE="Apache-1.1-sans-Apache"
|
|
|
|
SLOT="0"
|
2024-05-09 09:17:29 +02:00
|
|
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
2020-04-18 14:28:21 +02:00
|
|
|
|
|
|
|
BDEPEND="
|
|
|
|
app-arch/unzip
|
|
|
|
"
|
|
|
|
src_unpack() {
|
2024-05-09 09:17:29 +02:00
|
|
|
unzip -jd . "${DISTDIR}"/dos32a-912-bin.zip binw/*
|
2020-04-18 14:28:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
insinto /usr/share/dos32a
|
|
|
|
doins *.exe
|
|
|
|
}
|