summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-10 13:07:12 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-10 13:07:12 +0000
commit12d38ed41ea54e77f4e7eb6a6f68c587447eb3ef (patch)
treed9b3b6261efd9f506a32a079801eb9718de1191a /dev-java/commons-codec
parentfix deps, add source useflag support, cleanup (diff)
downloadgentoo-2-12d38ed41ea54e77f4e7eb6a6f68c587447eb3ef.tar.gz
gentoo-2-12d38ed41ea54e77f4e7eb6a6f68c587447eb3ef.tar.bz2
gentoo-2-12d38ed41ea54e77f4e7eb6a6f68c587447eb3ef.zip
fix deps, cleanup
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/commons-codec')
-rw-r--r--dev-java/commons-codec/ChangeLog5
-rw-r--r--dev-java/commons-codec/commons-codec-1.3.ebuild17
2 files changed, 12 insertions, 10 deletions
diff --git a/dev-java/commons-codec/ChangeLog b/dev-java/commons-codec/ChangeLog
index cf4de0021b0a..ed367a8a7a2a 100644
--- a/dev-java/commons-codec/ChangeLog
+++ b/dev-java/commons-codec/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/commons-codec
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-codec/ChangeLog,v 1.16 2005/06/05 13:11:31 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-codec/ChangeLog,v 1.17 2005/07/10 13:07:12 axxo Exp $
+
+ 10 Jul 2005; Thomas Matthijs <axxo@gentoo.org> commons-codec-1.3.ebuild:
+ fix deps, cleanup
05 Jun 2005; Jan Brinkmann <luckyduck@gentoo.org>
commons-codec-1.3.ebuild:
diff --git a/dev-java/commons-codec/commons-codec-1.3.ebuild b/dev-java/commons-codec/commons-codec-1.3.ebuild
index 1a31e1fb40b4..9f6595c4090f 100644
--- a/dev-java/commons-codec/commons-codec-1.3.ebuild
+++ b/dev-java/commons-codec/commons-codec-1.3.ebuild
@@ -1,35 +1,34 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-codec/commons-codec-1.3.ebuild,v 1.7 2005/06/05 13:11:31 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-codec/commons-codec-1.3.ebuild,v 1.8 2005/07/10 13:07:12 axxo Exp $
inherit java-pkg
DESCRIPTION="Common Codecs provides implementations of common encoders and decoders such as Base64, Hex, various phonetic encodings, and URLs"
HOMEPAGE="http://jakarta.apache.org/commons/codec/"
-SRC_URI="mirror://apache/jakarta/commons/codec/source/${PN}-${PV}-src.tar.gz"
+SRC_URI="mirror://apache/jakarta/commons/codec/source/${P}-src.tar.gz"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 x86"
IUSE="doc jikes source"
+RDEPEND=">=virtual/jre-1.3
+ =dev-java/avalon-logkit-1.2*
+ dev-java/log4j"
+
DEPEND=">=virtual/jdk-1.3
+ ${RDEPEND}
dev-java/ant-core
jikes? ( dev-java/jikes )
source? ( app-arch/zip )"
-RDEPEND=">=virtual/jre-1.3
- =dev-java/avalon-logkit-1.2*
- dev-java/log4j"
S="${WORKDIR}"
src_unpack() {
unpack ${A}
cd ${S}
- cp build.xml build.xml.b0rken
- sed -r "s_../LICENSE_LICENSE.txt_" \
- < build.xml.b0rken \
- > build.xml
+ sed -i "s_../LICENSE_LICENSE.txt_" build.xml || die "sed failed"
echo "conf.home=./src/conf" >> build.properties
echo "source.home=./src/java" >> build.properties
echo "build.home=./output" >> build.properties