/[gentoo-x86]/dev-java/validation-api/validation-api-1.0.0.ebuild
Gentoo

Contents of /dev-java/validation-api/validation-api-1.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Mar 3 09:05:27 2011 UTC (3 years, 4 months ago) by tomka
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
x86 stable per bug 353888

(Portage version: 2.1.9.40/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/validation-api/validation-api-1.0.0.ebuild,v 1.2 2011/02/11 19:10:19 hwoarang Exp $
4
5 EAPI=3
6
7 JAVA_PKG_IUSE="doc source"
8
9 inherit java-pkg-2 java-ant-2
10
11 DESCRIPTION="Bean Validation (JSR-303) API"
12 HOMEPAGE="http://fisheye.jboss.org/browse/Hibernate/beanvalidation/api/tags/v1_0_0_GA"
13 SRC_URI="https://repository.jboss.org/nexus/service/local/repo_groups/public/content/javax/validation/${PN}/${PV}.GA/${P}.GA-sources.jar"
14
15 LICENSE="Apache-2.0"
16 SLOT="1.0"
17 KEYWORDS="amd64 x86"
18
19 IUSE=""
20
21 RDEPEND=">=virtual/jre-1.5"
22 DEPEND=">=virtual/jdk-1.5
23 app-arch/unzip"
24
25 EANT_BUILD_TARGET="jar"
26 EANT_DOC_TARGET="doc"
27
28 S="${WORKDIR}/${PN}"
29
30 src_unpack() {
31 mkdir -p "${S}/src"
32 cd "${S}/src"
33 unpack ${A}
34 cp "${FILESDIR}/build.xml" "${S}/"
35 }
36
37 src_install() {
38 java-pkg_dojar "${PN}.jar"
39 use doc && java-pkg_dojavadoc "${S}/api"
40 use source && java-pkg_dosrc "${S}/src/javax"
41 }

  ViewVC Help
Powered by ViewVC 1.1.20