summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValérian Rousset <tharvik@users.noreply.github.com>2023-04-14 20:19:01 +0200
committerSam James <sam@gentoo.org>2023-05-20 10:21:44 +0100
commit596f2d01dcf7618022a0027223a3e314051ba2d5 (patch)
treee664ed8023124fde8d089abae08ce1ad151f8db6 /dev-java/hashcash
parentdev-java/identicon: new package, add 1.0 (diff)
downloadgentoo-596f2d01dcf7618022a0027223a3e314051ba2d5.tar.gz
gentoo-596f2d01dcf7618022a0027223a3e314051ba2d5.tar.bz2
gentoo-596f2d01dcf7618022a0027223a3e314051ba2d5.zip
dev-java/hashcash: new package, add 1.1
Signed-off-by: Valérian Rousset <tharvik@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-java/hashcash')
-rw-r--r--dev-java/hashcash/Manifest1
-rw-r--r--dev-java/hashcash/hashcash-1.1.ebuild23
-rw-r--r--dev-java/hashcash/metadata.xml8
3 files changed, 32 insertions, 0 deletions
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>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+</pkgmetadata>