Skip to content

Commit

Permalink
dev-java/hashcash: new package, add 1.1
Browse files Browse the repository at this point in the history
Signed-off-by: Valérian Rousset <[email protected]>
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
tharvik authored and thesamesam committed May 20, 2023
1 parent 78e03d7 commit 596f2d0
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-java/hashcash/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST HashCash.java 16678 BLAKE2B 1909addd4b698243a0008712a146aea28205af5ce35049836ff67fc6026235416f0092f9f702a75ade65a9d8c491a4afe136c995bee913cba28d93beabce2f34 SHA512 a3cc8535cb99f100139b5cae7bb3668cda726f60eea8de83b5e272982dacc4783f65fd462b388029e21ebf9d9a157c9b06784fb90f921955d4022b1f341eb103
23 changes: 23 additions & 0 deletions dev-java/hashcash/hashcash-1.1.ebuild
Original file line number Diff line number Diff line change
@@ -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'
}
8 changes: 8 additions & 0 deletions dev-java/hashcash/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Java</name>
</maintainer>
</pkgmetadata>
2 changes: 2 additions & 0 deletions licenses/GregoryRubin
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Copyright 2006 Gregory Rubin [email protected]
Permission is given to use, modify, and or distribute this code so long as this message remains attached

0 comments on commit 596f2d0

Please sign in to comment.