diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-10-24 20:47:16 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-10-24 20:47:16 +0000 |
commit | e82e2fdf5d762c96cbf716a602f319c3698a57ef (patch) | |
tree | 2e9774cabbfd7d069aea485422ad2b9a8bfd9fbf /dev-java/hibernate-annotations | |
parent | Version bump, bug#489262 (diff) | |
download | gentoo-2-e82e2fdf5d762c96cbf716a602f319c3698a57ef.tar.gz gentoo-2-e82e2fdf5d762c96cbf716a602f319c3698a57ef.tar.bz2 gentoo-2-e82e2fdf5d762c96cbf716a602f319c3698a57ef.zip |
New package for dev-java/hibernate-annotations, annotations support for Hibernate. Ebuild written by kiorky, adapted by wltjr, Java herd developers and ali_bush. Dependency of dev-java/spring-context which is needed to fix dev-java/struts-xwork.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'dev-java/hibernate-annotations')
-rw-r--r-- | dev-java/hibernate-annotations/ChangeLog | 39 | ||||
-rw-r--r-- | dev-java/hibernate-annotations/hibernate-annotations-3.2.0.ebuild | 59 | ||||
-rw-r--r-- | dev-java/hibernate-annotations/metadata.xml | 5 |
3 files changed, 103 insertions, 0 deletions
diff --git a/dev-java/hibernate-annotations/ChangeLog b/dev-java/hibernate-annotations/ChangeLog new file mode 100644 index 000000000000..cbaccea19b92 --- /dev/null +++ b/dev-java/hibernate-annotations/ChangeLog @@ -0,0 +1,39 @@ +# ChangeLog for dev-java/hibernate-annotations +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate-annotations/ChangeLog,v 1.1 2013/10/24 20:47:16 tomwij Exp $ + + 29 Jan 2009; Alistair Bush <ali_bush@gentoo.org> + hibernate-annotations-3.2.0.ebuild: + Drop keywords due to missing deps. + + 16 Nov 2008; Miroslav Šulc <fordfrog@gentoo.org> + hibernate-annotations-3.2.0.ebuild: + fixed installation of javadoc + + 04 Sep 2008; Miroslav Šulc <fordfrog@gentoo.org> + hibernate-annotations-3.2.0.ebuild: + Quickfix to be able to compile the package + + 11 Aug 2007; Petteri Räty <betelgeuse@gentoo.org> + hibernate-annotations-3.2.0.ebuild: + Use default src_compile. + + 11 Aug 2007; Petteri Räty <betelgeuse@gentoo.org> + -hibernate-annotations-3.2.0_rc2.ebuild: + Remove old version. + + 20 Mar 2007; William L. Thomson Jr. <wltjr@gentoo.org> ChangeLog: + Updated dep on javassist to reflect it's new slot, this version should be + removed. Uses stuff that is not included in deps + + 20 Mar 2007; William L. Thomson Jr. <wltjr@gentoo.org> ChangeLog: + Updated dep on javassist to reflect it's new slot + + 11 Feb 2007; kiorky <kiorky@cryptelium.net> + hibernate-annotations-3.2.0.ebuild, metadata.xml: + Corrected dependencies + Fixed inherit + Fixed src_unpack + Fixed Copyright Dates/License + Filled #166441 + diff --git a/dev-java/hibernate-annotations/hibernate-annotations-3.2.0.ebuild b/dev-java/hibernate-annotations/hibernate-annotations-3.2.0.ebuild new file mode 100644 index 000000000000..d5d53b659c6d --- /dev/null +++ b/dev-java/hibernate-annotations/hibernate-annotations-3.2.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate-annotations/hibernate-annotations-3.2.0.ebuild,v 1.1 2013/10/24 20:47:16 tomwij Exp $ + +EAPI="5" + +inherit java-pkg-2 java-ant-2 + +MY_PV="${PV}.GA" +MY_P="${PN}-${MY_PV}" +HIBERNATE_P="hibernate-3.2.0.ga" + +DESCRIPTION="Annotations support for Hibernate" +HOMEPAGE="http://annotations.hibernate.org" +SRC_URI="mirror://sourceforge/hibernate/${MY_P}.tar.gz mirror://sourceforge/hibernate/${HIBERNATE_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="3.2" +KEYWORDS="~amd64" + +IUSE="doc source" + +COMMON_DEPS=" + dev-java/commons-logging:0 + dev-java/dom4j:1 + dev-java/glassfish-persistence:0 + dev-java/hibernate:3.1 + dev-java/lucene:2.1" + +DEPEND=">=virtual/jdk-1.5 + app-arch/zip:0 + dev-java/ant-antlr:0 + dev-java/ant-junit:0 + dev-java/commons-collections:0 + ${COMMON_DEPS} + " +RDEPEND=">=virtual/jre-1.5 + dev-java/lucene:1 + ${COMMON_DEPS} + " + +S="${WORKDIR}/${MY_P}" +HIBERNATE_S="${WORKDIR}/hibernate-${SLOT}" + +java_prepare() { + cd "${HIBERNATE_S}"/lib || die + + java-pkg_jar-from --build-only ant-antlr,commons-collections + java-pkg_jar-from --build-only ant-core ant.jar + + java-pkg_jar-from commons-logging,dom4j-1,glassfish-persistence,hibernate-3.1,lucene-2.1 +} + +src_install() { + java-pkg_dojar ${PN}.jar + + use doc && java-pkg_dojavadoc doc/api + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/hibernate-annotations/metadata.xml b/dev-java/hibernate-annotations/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/hibernate-annotations/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +</pkgmetadata> |