Compare commits
No commits in common. "9801452b4e9b49ba058d811d1e02604d1284210b" and "467c404bbcf06e9f5c436e73b830407b08d9c8b7" have entirely different histories.
9801452b4e
...
467c404bbc
@ -1,23 +1,36 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=7
|
||||||
|
|
||||||
DESCRIPTION="Free replacement for DOS4GW."
|
DESCRIPTION="Free replacement for DOS4GW."
|
||||||
HOMEPAGE="https://web.archive.org/web/20210726190857/https://dos32a.narechk.net/index_en.html"
|
HOMEPAGE="https://dos32a.narechk.net/content/main.html"
|
||||||
SRC_URI="
|
|
||||||
https://github.com/grepwood/${PN}/releases/download/${P//.}/${P//.}-bin.zip
|
|
||||||
"
|
|
||||||
S=${WORKDIR}
|
|
||||||
LICENSE="Apache-1.1-sans-Apache"
|
LICENSE="Apache-1.1-sans-Apache"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
||||||
|
|
||||||
|
#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="
|
BDEPEND="
|
||||||
app-arch/unzip
|
app-arch/unzip
|
||||||
"
|
"
|
||||||
|
|
||||||
|
RDEPEND=""
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
S=${WORKDIR}
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
unzip -jd . "${DISTDIR}"/dos32a-912-bin.zip binw/*
|
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() {
|
src_install() {
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<upstream>
|
<use>
|
||||||
<remote-id type="github">grepwood/dos32a</remote-id>
|
<flag name="binary">
|
||||||
</upstream>
|
Fetch binary release instead of compiling the package from source.
|
||||||
|
</flag>
|
||||||
|
</use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Loading…
Reference in New Issue
Block a user