summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Zubenko <sheela.na.geek@gmail.com>2011-10-01 03:38:42 +0300
committerAnna Zubenko <sheela.na.geek@gmail.com>2011-10-01 03:38:42 +0300
commita27c0fd8b50719b7c2ae05264dbd101e79ce301f (patch)
tree18d40d022447515cdbba55bf908c418bd365d815
parentlive gajim ebuild update (diff)
downloadeatnumber1-a27c0fd8b50719b7c2ae05264dbd101e79ce301f.tar.gz
eatnumber1-a27c0fd8b50719b7c2ae05264dbd101e79ce301f.tar.bz2
eatnumber1-a27c0fd8b50719b7c2ae05264dbd101e79ce301f.zip
new ebuild
-rw-r--r--dev-java/commons-ssl/Manifest2
-rw-r--r--dev-java/commons-ssl/commons-ssl-0.3.9.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-java/commons-ssl/Manifest b/dev-java/commons-ssl/Manifest
new file mode 100644
index 0000000..4c8c29d
--- /dev/null
+++ b/dev-java/commons-ssl/Manifest
@@ -0,0 +1,2 @@
+DIST not-yet-commons-ssl-0.3.9.zip 2747486 RMD160 3dc878a6d4060fc883e6edb940994a0a72f6468e SHA1 549aa6dc9f939990386e14317c1ab7805cb013de SHA256 13e8775241c6e4767707949e7a8c8c5640b9ad51dc72d9e066678f4c722c207b
+EBUILD commons-ssl-0.3.9.ebuild 1232 RMD160 ebc42402ea00eb00f6bc270666ba4933d7f606dc SHA1 abc766a77dfd3bf5283e140e287ce577a2fbd821 SHA256 ea329ef069c9897bc16f7553c548ebefe6269ccb6a960390a741430f7ce3d565
diff --git a/dev-java/commons-ssl/commons-ssl-0.3.9.ebuild b/dev-java/commons-ssl/commons-ssl-0.3.9.ebuild
new file mode 100644
index 0000000..62aa63b
--- /dev/null
+++ b/dev-java/commons-ssl/commons-ssl-0.3.9.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Apache (not yet) commons-ssl library"
+HOMEPAGE="http://http://juliusdavies.ca/commons-ssl"
+SRC_URI="http://juliusdavies.ca/not-yet-commons-ssl-0.3.9/not-yet-${P}.zip"
+EAPI=4
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
+IUSE="doc source samples"
+
+RDEPEND=">=virtual/jre-1.4
+ dev-java/commons-codec
+ dev-java/commons-httpclient:3
+ dev-java/commons-logging
+ dev-java/log4j"
+
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}"
+
+S=${WORKDIR}/not-yet-${P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ java-ant_rewrite-classpath build.xml
+}
+
+src_compile() {
+ eant jar $(use doc javadocs)\
+ -Dgentoo.classpath="$(java-pkg_getjars commons-codec):
+ $(java-pkg_getjars commons-logging):
+ $(java-pkg_getjars commons-httpclient-3):
+ $(java-pkg_getjars log4j)"
+}
+
+src_install() {
+ java-pkg_dojar build/commons-ssl*.jar
+ dodoc NOTICE.txt README.txt
+
+ if use doc; then
+ java-pkg_dojavadoc docs
+ java-pkg_dohtml -r javadocs
+ fi
+
+ use source && java-pkg_dosrc src/*
+
+ if use samples ; then
+ dodoc -r samples
+ fi
+} \ No newline at end of file