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>
This commit is contained in:
Valérian Rousset 2023-04-14 20:19:01 +02:00 committed by Sam James
parent 78e03d7094
commit 596f2d01dc
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
4 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST HashCash.java 16678 BLAKE2B 1909addd4b698243a0008712a146aea28205af5ce35049836ff67fc6026235416f0092f9f702a75ade65a9d8c491a4afe136c995bee913cba28d93beabce2f34 SHA512 a3cc8535cb99f100139b5cae7bb3668cda726f60eea8de83b5e272982dacc4783f65fd462b388029e21ebf9d9a157c9b06784fb90f921955d4022b1f341eb103

View File

@ -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'
}

View File

@ -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>

2
licenses/GregoryRubin Normal file
View File

@ -0,0 +1,2 @@
Copyright 2006 Gregory Rubin grrubin@gmail.com
Permission is given to use, modify, and or distribute this code so long as this message remains attached