summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-04-04 20:00:58 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-04-04 20:00:58 +0000
commit35f19664ac4134574ed7518c11d6fd6f5b40d4f1 (patch)
tree49bc4c3d091af68eda019ff8d1e881fd5dba46d0 /app-crypt/jacksum
parentfixing Manifest (diff)
downloadhistorical-35f19664ac4134574ed7518c11d6fd6f5b40d4f1.tar.gz
historical-35f19664ac4134574ed7518c11d6fd6f5b40d4f1.tar.bz2
historical-35f19664ac4134574ed7518c11d6fd6f5b40d4f1.zip
Initial Import. Closes #46458
Diffstat (limited to 'app-crypt/jacksum')
-rw-r--r--app-crypt/jacksum/ChangeLog11
-rw-r--r--app-crypt/jacksum/Manifest4
-rw-r--r--app-crypt/jacksum/files/digest-jacksum-1.4.01
-rw-r--r--app-crypt/jacksum/jacksum-1.4.0.ebuild44
-rw-r--r--app-crypt/jacksum/metadata.xml5
5 files changed, 65 insertions, 0 deletions
diff --git a/app-crypt/jacksum/ChangeLog b/app-crypt/jacksum/ChangeLog
new file mode 100644
index 000000000000..e868641df8b9
--- /dev/null
+++ b/app-crypt/jacksum/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-crypt/jacksum
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/jacksum/ChangeLog,v 1.1 2004/04/04 20:00:58 zx Exp $
+
+*jacksum-1.4.0 (04 Apr 2004)
+
+ 04 Apr 2004; Chris Aniszczyk <zx@gentoo.org> jacksum-1.4.0.ebuild,
+ metadata.xml:
+ Initial Import. Closes #46458.
+ Thanks to Alexandru Toma <flash3001@yahoo.com> for the initial ebuild.
+
diff --git a/app-crypt/jacksum/Manifest b/app-crypt/jacksum/Manifest
new file mode 100644
index 000000000000..e66bb5220848
--- /dev/null
+++ b/app-crypt/jacksum/Manifest
@@ -0,0 +1,4 @@
+MD5 72d80ee139a3cb1c0e93a695d71751a6 jacksum-1.4.0.ebuild 1075
+MD5 7094b12b7e1ba89d42b853e88a1ccca2 ChangeLog 433
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 d70a42e3ead229a1001fbe2b09ee2937 files/digest-jacksum-1.4.0 62
diff --git a/app-crypt/jacksum/files/digest-jacksum-1.4.0 b/app-crypt/jacksum/files/digest-jacksum-1.4.0
new file mode 100644
index 000000000000..a9c5a67208f4
--- /dev/null
+++ b/app-crypt/jacksum/files/digest-jacksum-1.4.0
@@ -0,0 +1 @@
+MD5 762e56580dfceaa1eaf0753e0f55fdf2 jacksum-1.4.0.zip 195026
diff --git a/app-crypt/jacksum/jacksum-1.4.0.ebuild b/app-crypt/jacksum/jacksum-1.4.0.ebuild
new file mode 100644
index 000000000000..417ee8e7173a
--- /dev/null
+++ b/app-crypt/jacksum/jacksum-1.4.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/jacksum/jacksum-1.4.0.ebuild,v 1.1 2004/04/04 20:00:58 zx Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Java utility for computing and verifying checksums: CRC*, MD*, SHA*, TIGER"
+HOMEPAGE="http://www.jonelo.de/java/jacksum/"
+SRC_URI="mirror://sourceforge/jacksum/${P}.zip"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+IUSE="jikes"
+DEPEND=">=virtual/jdk-1.3.1
+ app-arch/unzip
+ jikes? ( dev-java/jikes )"
+RDEPEND=">=virtual/jre-1.3.1"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ unzip -qq ${PN}-src.zip
+ rm ${PN}
+}
+
+src_compile() {
+ local antflags="all"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "compilation error"
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+ cd ${S}
+ dodoc history.txt readme.txt
+
+ # make exec wrapper
+ echo "#!/bin/sh" > ${PN}
+ echo "cd /usr/share/${PN}" >> ${PN}
+ echo '${JAVA_HOME}'/bin/java -jar lib/${PN}.jar '$*' >> ${PN}
+ dobin ${PN}
+}
diff --git a/app-crypt/jacksum/metadata.xml b/app-crypt/jacksum/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/app-crypt/jacksum/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>