From ed47de281fecc7cde7b6b7202042067470f69ba6 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Thu, 20 Jul 2023 21:06:24 -0700 Subject: [PATCH] dev-util/ndstool: new package, add 2.2.0, 9999 --- dev-util/ndstool/Manifest | 1 + dev-util/ndstool/metadata.xml | 11 +++++++++++ dev-util/ndstool/ndstool-2.2.0.ebuild | 28 +++++++++++++++++++++++++++ dev-util/ndstool/ndstool-9999.ebuild | 28 +++++++++++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 dev-util/ndstool/Manifest create mode 100644 dev-util/ndstool/metadata.xml create mode 100644 dev-util/ndstool/ndstool-2.2.0.ebuild create mode 100644 dev-util/ndstool/ndstool-9999.ebuild diff --git a/dev-util/ndstool/Manifest b/dev-util/ndstool/Manifest new file mode 100644 index 0000000..fefba15 --- /dev/null +++ b/dev-util/ndstool/Manifest @@ -0,0 +1 @@ +DIST ndstool-2.2.0.tar.gz 67286 BLAKE2B 0a7ec9cae1e540033b2def3aa953b36646d6a1a037df79c716cd5b8267ff7016d122eeafae7830d6ee98afd14f314975f24937dfd8c87c5ea4c3f57db5056683 SHA512 eb6849f9a8e64019d038de1bc272060248ad31c940116a3063b06057dcfc70cf2352322b3c164f6b9616603fd3de70bebc4642df7c489cee5dbc4e7cad5baa72 diff --git a/dev-util/ndstool/metadata.xml b/dev-util/ndstool/metadata.xml new file mode 100644 index 0000000..18abe1e --- /dev/null +++ b/dev-util/ndstool/metadata.xml @@ -0,0 +1,11 @@ + + + + + flewkey@2a03.party + Ryan Fox + + + devkitPro/ndstool + + diff --git a/dev-util/ndstool/ndstool-2.2.0.ebuild b/dev-util/ndstool/ndstool-2.2.0.ebuild new file mode 100644 index 0000000..d152db8 --- /dev/null +++ b/dev-util/ndstool/ndstool-2.2.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/devkitPro/ndstool.git" +else + SRC_URI="https://github.com/devkitPro/ndstool/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Nintendo DS ROM tool" +HOMEPAGE="https://github.com/devkitPro/ndstool" +LICENSE="GPL-3" +SLOT="0" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare() { + default + eautoreconf +} diff --git a/dev-util/ndstool/ndstool-9999.ebuild b/dev-util/ndstool/ndstool-9999.ebuild new file mode 100644 index 0000000..d152db8 --- /dev/null +++ b/dev-util/ndstool/ndstool-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/devkitPro/ndstool.git" +else + SRC_URI="https://github.com/devkitPro/ndstool/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Nintendo DS ROM tool" +HOMEPAGE="https://github.com/devkitPro/ndstool" +LICENSE="GPL-3" +SLOT="0" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare() { + default + eautoreconf +}