aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/svnkit/svnkit-1.1.3.ebuild')
-rw-r--r--dev-util/svnkit/svnkit-1.1.3.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-util/svnkit/svnkit-1.1.3.ebuild b/dev-util/svnkit/svnkit-1.1.3.ebuild
new file mode 100644
index 00000000..cc8ce410
--- /dev/null
+++ b/dev-util/svnkit/svnkit-1.1.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="A pure Java Subversion client library"
+HOMEPAGE="http://svnkit.com/"
+SRC_URI="http://www.svnkit.com/org.tmatesoft.svn_${PV}.src.zip"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="tmate"
+IUSE=""
+
+COMMON_DEPEND="
+ dev-java/ganymed-ssh2
+ dev-java/sequence"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-util/subversion-1.4
+ test? ( =dev-java/junit-3.8* )
+ ${COMMON_DEPEND}"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEPEND}"
+
+S="${WORKDIR}/${PN}-src-${PV}"
+
+EANT_BUILD_TARGET="build-library build-cli"
+EANT_DOC_TARGET="build-doc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-build.xml.patch
+ rm -fr contrib/*
+ cd contrib
+ java-pkg_jar-from ganymed-ssh2
+ java-pkg_jar-from sequence
+ java-pkg_jar-from --build-only subversion
+}
+
+src_install() {
+ cd build/lib
+ java-pkg_dojar *.jar
+ dodoc *.txt
+
+ cd ${S}
+ use doc && java-pkg_dojavadoc build/doc/javadoc
+ use source && java-pkg_dosource svnkit/src/*
+}