summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-06-11 23:35:09 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-06-11 23:35:09 +0000
commit173021a981fdf1ac173471d5ed04f7753ec777b6 (patch)
tree0149e35728ce5edbc5f0bce0ea0676f1f128a24c /dev-java/jsr250
parentRevision bump adds upstream patch to fix gles2 support, bug #551448. Thanks t... (diff)
downloadgentoo-2-173021a981fdf1ac173471d5ed04f7753ec777b6.tar.gz
gentoo-2-173021a981fdf1ac173471d5ed04f7753ec777b6.tar.bz2
gentoo-2-173021a981fdf1ac173471d5ed04f7753ec777b6.zip
Rewrote package from scratch. Fix bug 428340.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
Diffstat (limited to 'dev-java/jsr250')
-rw-r--r--dev-java/jsr250/ChangeLog8
-rw-r--r--dev-java/jsr250/jsr250-1.0.ebuild43
2 files changed, 22 insertions, 29 deletions
diff --git a/dev-java/jsr250/ChangeLog b/dev-java/jsr250/ChangeLog
index d370823397ba..70635a486f23 100644
--- a/dev-java/jsr250/ChangeLog
+++ b/dev-java/jsr250/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/jsr250
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr250/ChangeLog,v 1.9 2008/03/28 17:57:29 nixnut Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr250/ChangeLog,v 1.10 2015/06/11 23:35:09 monsieurp Exp $
+
+ 11 Jun 2015; Patrice Clement <monsieurp@gentoo.org> jsr250-1.0.ebuild:
+ Rewrote package from scratch. Fix bug 428340.
28 Mar 2008; nixnut <nixnut@gentoo.org> jsr250-1.0.ebuild:
Stable on ppc wrt bug 214778
@@ -32,4 +35,3 @@
11 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> +metadata.xml,
+jsr250-1.0.ebuild:
Initial version.
-
diff --git a/dev-java/jsr250/jsr250-1.0.ebuild b/dev-java/jsr250/jsr250-1.0.ebuild
index bd354b67343b..e4957f334775 100644
--- a/dev-java/jsr250/jsr250-1.0.ebuild
+++ b/dev-java/jsr250/jsr250-1.0.ebuild
@@ -1,39 +1,30 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr250/jsr250-1.0.ebuild,v 1.8 2008/03/28 17:57:29 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr250/jsr250-1.0.ebuild,v 1.9 2015/06/11 23:35:09 monsieurp Exp $
-inherit java-pkg-2 java-ant-2
+EAPI=5
+
+inherit eutils java-pkg-2 java-pkg-simple
DESCRIPTION="JSR 250 Common Annotations"
-HOMEPAGE="http://jax-ws.dev.java.net/"
-DATE="20060817"
-MY_P="JAXWS2.0.1m1_source_${DATE}.jar"
-SRC_URI="https://jax-ws.dev.java.net/jax-ws-201-m1/${MY_P}"
+HOMEPAGE="https://jcp.org/en/jsr/detail?id=250"
+SRC_URI="http://download.java.net/maven/2/javax/annotation/${PN}-api/${PV}/${PN}-api-${PV}-sources.jar"
LICENSE="CDDL"
SLOT="0"
-KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+KEYWORDS="amd64 ppc ppc64 x86"
IUSE=""
-RDEPEND=">=virtual/jre-1.5"
-DEPEND="app-arch/unzip
+RDEPEND=">=virtual/jre-1.6"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
${RDEPEND}"
-S="${WORKDIR}/jaxws-si"
-
-src_unpack() {
- echo "A" | java -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed"
-
- unpack ./jaxws-src.zip || die "unzip failed"
-
-}
-
-src_compile() {
- :
-}
-
-src_install() {
-
- java-pkg_newjar lib/jsr250-api.jar
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+JAVA_SRC_DIR="src"
+java_prepare() {
+ mkdir src || die
+ mv * src
}