summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2006-12-11 01:38:41 +0000
committerVlastimil Babka <caster@gentoo.org>2006-12-11 01:38:41 +0000
commit38abe8219547379657691f6dee5c012c44353483 (patch)
treea42a9dc932b3bc46591c977df1e3a299f637f097 /dev-java/javatar
parentfix metacity atom (diff)
downloadgentoo-2-38abe8219547379657691f6dee5c012c44353483.tar.gz
gentoo-2-38abe8219547379657691f6dee5c012c44353483.tar.bz2
gentoo-2-38abe8219547379657691f6dee5c012c44353483.zip
Revision bump using gen-2 eclasses. Added source USE flag, moved from sun-jaf-bin to sun-jaf.
(Portage version: 2.1.2_rc3-r1)
Diffstat (limited to 'dev-java/javatar')
-rw-r--r--dev-java/javatar/ChangeLog10
-rw-r--r--dev-java/javatar/files/digest-javatar-2.52
-rw-r--r--dev-java/javatar/files/digest-javatar-2.5-r13
-rw-r--r--dev-java/javatar/javatar-2.5-r1.ebuild48
4 files changed, 61 insertions, 2 deletions
diff --git a/dev-java/javatar/ChangeLog b/dev-java/javatar/ChangeLog
index d5ff8abe23ca..1d208d76948c 100644
--- a/dev-java/javatar/ChangeLog
+++ b/dev-java/javatar/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/javatar
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/javatar/ChangeLog,v 1.2 2005/05/19 13:41:46 luckyduck Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javatar/ChangeLog,v 1.3 2006/12/11 01:38:41 caster Exp $
+
+*javatar-2.5-r1 (11 Dec 2006)
+
+ 11 Dec 2006; Vlastimil Babka <caster@gentoo.org> +javatar-2.5-r1.ebuild:
+ Revision bump using gen-2 eclasses. Added source USE flag, moved from
+ sun-jaf-bin to sun-jaf.
19 May 2005; Jan Brinkmann <luckyduck@gentoo.org> javatar-2.5.ebuild:
stable on amd64 and x86
diff --git a/dev-java/javatar/files/digest-javatar-2.5 b/dev-java/javatar/files/digest-javatar-2.5
index 4588c77d2040..b175be3e8cf7 100644
--- a/dev-java/javatar/files/digest-javatar-2.5
+++ b/dev-java/javatar/files/digest-javatar-2.5
@@ -1 +1,3 @@
MD5 7dae3b92b70c30cfb6fd9699a79f821c javatar-2.5.tar.gz 168790
+RMD160 674c2b39223e79d60c85046d5a5a753ccb4ca000 javatar-2.5.tar.gz 168790
+SHA256 ecb1987a57590714f098fa30342d84dfe234354d45f651e559f9965985654c0e javatar-2.5.tar.gz 168790
diff --git a/dev-java/javatar/files/digest-javatar-2.5-r1 b/dev-java/javatar/files/digest-javatar-2.5-r1
new file mode 100644
index 000000000000..b175be3e8cf7
--- /dev/null
+++ b/dev-java/javatar/files/digest-javatar-2.5-r1
@@ -0,0 +1,3 @@
+MD5 7dae3b92b70c30cfb6fd9699a79f821c javatar-2.5.tar.gz 168790
+RMD160 674c2b39223e79d60c85046d5a5a753ccb4ca000 javatar-2.5.tar.gz 168790
+SHA256 ecb1987a57590714f098fa30342d84dfe234354d45f651e559f9965985654c0e javatar-2.5.tar.gz 168790
diff --git a/dev-java/javatar/javatar-2.5-r1.ebuild b/dev-java/javatar/javatar-2.5-r1.ebuild
new file mode 100644
index 000000000000..d647b76a18ae
--- /dev/null
+++ b/dev-java/javatar/javatar-2.5-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javatar/javatar-2.5-r1.ebuild,v 1.1 2006/12/11 01:38:41 caster Exp $
+
+inherit java-pkg-2 eutils
+
+DESCRIPTION="Java library for creation and extraction of tar archives"
+HOMEPAGE="http://www.trustice.com/java/tar/"
+SRC_URI="ftp://ftp.gjt.org/pub/time/java/tar/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="2.5"
+IUSE="doc source"
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="dev-java/sun-jaf"
+RDEPEND=">=virtual/jre-1.4
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ ${CDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ cp "${FILESDIR}/javatar-2.5-build.xml" build.xml || die "cp build.xml failed"
+
+ rm -rf jars
+ mkdir lib && cd lib
+ java-pkg_jar-from sun-jaf
+}
+
+src_compile() {
+ eant jar $(use_doc docs)
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ java-pkg_dolauncher ${PN} --main com.ice.tar.tar
+
+ dodoc doc/LICENSE
+ dohtml doc/*.html
+
+ use doc && java-pkg_dojavadoc docs
+
+ use source && java-pkg_dosrc source/com
+}