View | Details | Raw Unified
Collapse All | Expand All

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