Lines 1-8
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2009 Gentoo Foundation |
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/commons-codec/commons-codec-1.3-r2.ebuild,v 1.4 2008/10/27 23:16:34 ranger Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI=1 |
5 |
EAPI="2" |
6 |
JAVA_PKG_IUSE="doc source test" |
6 |
JAVA_PKG_IUSE="doc source test" |
7 |
|
7 |
|
8 |
inherit java-pkg-2 java-ant-2 |
8 |
inherit java-pkg-2 java-ant-2 |
Lines 19-32
Link Here
|
19 |
RDEPEND=">=virtual/jre-1.4" |
19 |
RDEPEND=">=virtual/jre-1.4" |
20 |
|
20 |
|
21 |
DEPEND=">=virtual/jdk-1.4 |
21 |
DEPEND=">=virtual/jdk-1.4 |
|
|
22 |
dev-lang/python[xml] |
22 |
test? ( dev-java/ant-junit:0 ) |
23 |
test? ( dev-java/ant-junit:0 ) |
23 |
${RDEPEND}" |
24 |
${RDEPEND}" |
24 |
|
25 |
|
25 |
S="${WORKDIR}" |
26 |
S="${WORKDIR}" |
26 |
|
27 |
|
27 |
src_unpack() { |
28 |
src_prepare() { |
28 |
unpack ${A} |
|
|
29 |
cd "${S}" |
30 |
epatch "${FILESDIR}/1.3-tests-fix.patch" |
29 |
epatch "${FILESDIR}/1.3-tests-fix.patch" |
31 |
sed -i "s_../LICENSE_LICENSE.txt_" build.xml || die "sed failed" |
30 |
sed -i "s_../LICENSE_LICENSE.txt_" build.xml || die "sed failed" |
32 |
echo "conf.home=./src/conf" >> build.properties |
31 |
echo "conf.home=./src/conf" >> build.properties |