commit:     596f2d01dcf7618022a0027223a3e314051ba2d5
Author:     Valérian Rousset <tharvik <AT> users <DOT> noreply <DOT> github 
<DOT> com>
AuthorDate: Fri Apr 14 18:19:01 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 20 09:21:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=596f2d01

dev-java/hashcash: new package, add 1.1

Signed-off-by: Valérian Rousset <tharvik <AT> users.noreply.github.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/hashcash/Manifest            |  1 +
 dev-java/hashcash/hashcash-1.1.ebuild | 23 +++++++++++++++++++++++
 dev-java/hashcash/metadata.xml        |  8 ++++++++
 licenses/GregoryRubin                 |  2 ++
 4 files changed, 34 insertions(+)

diff --git a/dev-java/hashcash/Manifest b/dev-java/hashcash/Manifest
new file mode 100644
index 000000000000..073e15819b7f
--- /dev/null
+++ b/dev-java/hashcash/Manifest
@@ -0,0 +1 @@
+DIST HashCash.java 16678 BLAKE2B 
1909addd4b698243a0008712a146aea28205af5ce35049836ff67fc6026235416f0092f9f702a75ade65a9d8c491a4afe136c995bee913cba28d93beabce2f34
 SHA512 
a3cc8535cb99f100139b5cae7bb3668cda726f60eea8de83b5e272982dacc4783f65fd462b388029e21ebf9d9a157c9b06784fb90f921955d4022b1f341eb103

diff --git a/dev-java/hashcash/hashcash-1.1.ebuild 
b/dev-java/hashcash/hashcash-1.1.ebuild
new file mode 100644
index 000000000000..155c3025dd1f
--- /dev/null
+++ b/dev-java/hashcash/hashcash-1.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Generation and parsing of Hashcash"
+HOMEPAGE="https://www.nettgryppa.com/code";
+SRC_URI="https://www.nettgryppa.com/code/HashCash.java";
+
+LICENSE="GregoryRubin"
+SLOT="1"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
+
+src_unpack() {
+       cp "${DISTDIR}/${A}" "${S}" || die 'copy source file'
+}

diff --git a/dev-java/hashcash/metadata.xml b/dev-java/hashcash/metadata.xml
new file mode 100644
index 000000000000..4221e170cbc0
--- /dev/null
+++ b/dev-java/hashcash/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>j...@gentoo.org</email>
+               <name>Java</name>
+       </maintainer>
+</pkgmetadata>

diff --git a/licenses/GregoryRubin b/licenses/GregoryRubin
new file mode 100644
index 000000000000..1143d2f354f0
--- /dev/null
+++ b/licenses/GregoryRubin
@@ -0,0 +1,2 @@
+Copyright 2006 Gregory Rubin grru...@gmail.com
+Permission is given to use, modify, and or distribute this code so long as 
this message remains attached

Reply via email to