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

(-)lucene-1.4.3-r2.ebuild (-2 / +8 lines)
Lines 10-22 Link Here
10
LICENSE="Apache-1.1"
10
LICENSE="Apache-1.1"
11
SLOT="1"
11
SLOT="1"
12
KEYWORDS="~amd64 ~ppc ~x86"
12
KEYWORDS="~amd64 ~ppc ~x86"
13
IUSE="doc test source"
13
IUSE="doc test source examples"
14
DEPEND=">=virtual/jdk-1.2
14
DEPEND=">=virtual/jdk-1.2
15
	>=dev-java/ant-1.5
15
	>=dev-java/ant-1.5
16
	test? ( dev-java/junit )"
16
	test? ( dev-java/junit )"
17
RDEPEND=">=virtual/jdk-1.2"
17
RDEPEND=">=virtual/jdk-1.2"
18
18
19
src_unpack() {
19
ant_src_unpack() {
20
	unpack ${A}
20
	unpack ${A}
21
	cd ${S}/lib
21
	cd ${S}/lib
22
	rm -f *.jar
22
	rm -f *.jar
Lines 38-41 Link Here
38
38
39
	use doc && java-pkg_dohtml -r docs/* build/docs/*
39
	use doc && java-pkg_dohtml -r docs/* build/docs/*
40
	use source && java-pkg_dosrc src/java/org
40
	use source && java-pkg_dosrc src/java/org
41
42
        if use examples; then
43
                dodir /usr/share/doc/${PF}/examples
44
                cp -r src/demo/* ${D}/usr/share/doc/${PF}/examples || die "Could not install examples"
45
        fi
46
41
}
47
}

Return to bug 141868