Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 113585 | Differences between
and this patch

Collapse All | Expand All

(-)commons-io-1.0.ebuild (-4 / +5 lines)
Lines 7-12 Link Here
7
DESCRIPTION="Commons-IO contains utility classes  , stream implementations, file filters  , and endian classes."
7
DESCRIPTION="Commons-IO contains utility classes  , stream implementations, file filters  , and endian classes."
8
HOMEPAGE="http://jakarta.apache.org/commons/io"
8
HOMEPAGE="http://jakarta.apache.org/commons/io"
9
SRC_URI="mirror://apache/jakarta/commons/io/source/${P}-src.tar.gz"
9
SRC_URI="mirror://apache/jakarta/commons/io/source/${P}-src.tar.gz"
10
S=${WORKDIR}/${P}-src
10
11
11
LICENSE="Apache-1.1"
12
LICENSE="Apache-1.1"
12
SLOT="1"
13
SLOT="1"
Lines 25-32 Link Here
25
26
26
	cd ${S}
27
	cd ${S}
27
	epatch ${FILESDIR}/${P}-gentoo.diff
28
	epatch ${FILESDIR}/${P}-gentoo.diff
28
	mkdir -p target/lib
29
	mkdir -p build/lib
29
	cd target/lib
30
	cd build/lib
30
	use junit && java-pkg_jar-from junit
31
	use junit && java-pkg_jar-from junit
31
}
32
}
32
33
Lines 39-48 Link Here
39
}
40
}
40
41
41
src_install() {
42
src_install() {
42
	java-pkg_newjar target/${P}.jar ${PN}.jar
43
	java-pkg_newjar build/${P}.jar ${PN}.jar
43
44
44
	dodoc RELEASE-NOTES.txt
45
	dodoc RELEASE-NOTES.txt
45
	dohtml PROPOSAL.html STATUS.html usersguide.html
46
	dohtml PROPOSAL.html STATUS.html usersguide.html
46
	use doc && java-pkg_dohtml -r dist/docs/*
47
	use doc && java-pkg_dohtml -r build/dist-build/${P}/docs/*
47
	use source && java-pkg_dosrc src/java/*
48
	use source && java-pkg_dosrc src/java/*
48
}
49
}

Return to bug 113585