summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-06-21 02:47:03 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-06-21 02:47:03 +0000
commita20d6e3eb64d3ecb72ccb63d5c84321886fdbe16 (patch)
treeb1e81c4b53ed21f97ce0825f3e2d9cb507cfe818 /dev-java
parentVersion bump. Fix automagic dependency on net-libs/adns (bug #265570). (diff)
downloadgentoo-2-a20d6e3eb64d3ecb72ccb63d5c84321886fdbe16.tar.gz
gentoo-2-a20d6e3eb64d3ecb72ccb63d5c84321886fdbe16.tar.bz2
gentoo-2-a20d6e3eb64d3ecb72ccb63d5c84321886fdbe16.zip
Add new istack-commons (upstream pom.xml tag is 1.1-SNAPSHOT) in a new slot, needed for jersey.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/istack-commons-runtime/ChangeLog11
-rw-r--r--dev-java/istack-commons-runtime/istack-commons-runtime-20090620.ebuild57
2 files changed, 66 insertions, 2 deletions
diff --git a/dev-java/istack-commons-runtime/ChangeLog b/dev-java/istack-commons-runtime/ChangeLog
index b50f16543d41..99b9f8db3ac7 100644
--- a/dev-java/istack-commons-runtime/ChangeLog
+++ b/dev-java/istack-commons-runtime/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/istack-commons-runtime
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/istack-commons-runtime/ChangeLog,v 1.8 2008/10/12 21:22:10 serkan Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/istack-commons-runtime/ChangeLog,v 1.9 2009/06/21 02:47:03 robbat2 Exp $
+
+*istack-commons-runtime-20090620 (21 Jun 2009)
+
+ 21 Jun 2009; Robin H. Johnson <robbat2@gentoo.org>
+ +istack-commons-runtime-20090620.ebuild:
+ Add new istack-commons (upstream pom.xml tag is 1.1-SNAPSHOT) in a new
+ slot, needed for jersey.
*istack-commons-runtime-20070122-r1 (12 Oct 2008)
diff --git a/dev-java/istack-commons-runtime/istack-commons-runtime-20090620.ebuild b/dev-java/istack-commons-runtime/istack-commons-runtime-20090620.ebuild
new file mode 100644
index 000000000000..cdc2d59b3d45
--- /dev/null
+++ b/dev-java/istack-commons-runtime/istack-commons-runtime-20090620.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/istack-commons-runtime/istack-commons-runtime-20090620.ebuild,v 1.1 2009/06/21 02:47:03 robbat2 Exp $
+
+JAVA_PKG_IUSE="source"
+EAPI=2
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="istack-commons"
+HOMEPAGE="https://istack-commons.dev.java.net/"
+PROJ_PN="istack-commons"
+PROJ_P="${PROJ_PN}-${PV}"
+SRC_FILE="${PROJ_P}-src.tar.bz2"
+SRC_URI="mirror://gentoo/${SRC_FILE}"
+
+LICENSE="CDDL"
+SLOT="1.1"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+COMMON_DEP="java-virtuals/jaf"
+
+DEPEND=">=virtual/jdk-1.5
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${PROJ_P}"
+
+# Helper to generate the tarball :-)
+# ( PN=istack-commons-runtime ; PV=20090620 ; P="${PN}-${PV}" ; . ${P}.ebuild ; src_tarball )
+src_tarball() {
+ CVSROOT=':pserver:guest@cvs.dev.java.net:/cvs'
+ PROJ_PN='istack-commons'
+ cvs -d "${CVSROOT}" \
+ export -D $PV -d "${PROJ_P}" \
+ "${PROJ_PN}/${PROJ_PN}" && \
+ tar cvjf "${SRC_FILE}" \
+ --exclude '*.zip' \
+ --exclude '*.jar' \
+ "${PROJ_P}" \
+ && \
+ echo "New tarball located at ${SRC_FILE}"
+}
+
+java_prepare() {
+ java-ant_bsfix_one "${S}/build-common.xml"
+ java-pkg_jarfrom --into "${S}/runtime/lib" --virtual jaf
+}
+
+EANT_BUILD_XML="runtime/build.xml"
+
+src_install() {
+ java-pkg_dojar runtime/build/istack-commons-runtime.jar
+ use source && java-pkg_dosrc runtime/src/*
+}