Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 435572
Collapse All | Expand All

(-)/usr/portage/dev-java/jaxp/jaxp-1.4-r1.ebuild (-5 / +5 lines)
Lines 2-7 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/jaxp-1.4-r1.ebuild,v 1.5 2012/03/06 21:12:16 ranger Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/jaxp-1.4-r1.ebuild,v 1.5 2012/03/06 21:12:16 ranger Exp $
4
4
5
EAPI=4
5
JAVA_PKG_IUSE="doc source"
6
JAVA_PKG_IUSE="doc source"
6
7
7
inherit java-pkg-2 java-ant-2
8
inherit java-pkg-2 java-ant-2
Lines 12-25 Link Here
12
13
13
LICENSE="CDDL"
14
LICENSE="CDDL"
14
SLOT="0"
15
SLOT="0"
15
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
16
KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
16
IUSE=""
17
IUSE=""
17
18
18
DEPEND=">=virtual/jdk-1.4"
19
DEPEND=">=virtual/jdk-1.4"
19
RDEPEND=">=virtual/jre-1.4"
20
RDEPEND=">=virtual/jre-1.4"
20
21
21
src_unpack() {
22
src_prepare() {
22
	unpack ${A}
23
	cp -i "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die "cp failed"
23
	cp -i "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die "cp failed"
24
}
24
}
25
25
Lines 31-40 Link Here
31
	use source && java-pkg_dosrc jaxp-1_4-api/src/{javax,org}
31
	use source && java-pkg_dosrc jaxp-1_4-api/src/{javax,org}
32
	dohtml \
32
	dohtml \
33
		docs/JAXP-Compatibility.html \
33
		docs/JAXP-Compatibility.html \
34
		docs/ReleaseNotes.html || die
34
		docs/ReleaseNotes.html
35
	use doc && java-pkg_dojavadoc docs/api
35
	use doc && java-pkg_dojavadoc docs/api
36
36
37
	cd "${D}/usr/share/${PN}/lib/"
37
	cd "${ED}/usr/share/${PN}/lib/"
38
	ln -s jaxp-ri.jar jaxp.jar || die
38
	ln -s jaxp-ri.jar jaxp.jar || die
39
	java-pkg_regjar /usr/share/${PN}/lib/jaxp.jar
39
	java-pkg_regjar /usr/share/${PN}/lib/jaxp.jar
40
}
40
}

Return to bug 435572