summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-04-06 16:35:18 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-04-06 16:35:18 +0000
commit061476b1561d41eec02e3e86cb40149f7d1041a9 (patch)
tree61713752a9027249adb688f58aa7e3da2c65e353 /eclass/java-pkg-2.eclass
parentStable on ppc64; bug #215735 (diff)
downloadgentoo-2-061476b1561d41eec02e3e86cb40149f7d1041a9.tar.gz
gentoo-2-061476b1561d41eec02e3e86cb40149f7d1041a9.tar.bz2
gentoo-2-061476b1561d41eec02e3e86cb40149f7d1041a9.zip
Add defaults for dev-java/commons- HOMEPAGE and SRC_URI.
Diffstat (limited to 'eclass/java-pkg-2.eclass')
-rw-r--r--eclass/java-pkg-2.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass
index a5b4ddbae3f8..7cdecb26304f 100644
--- a/eclass/java-pkg-2.eclass
+++ b/eclass/java-pkg-2.eclass
@@ -5,7 +5,7 @@
#
# Licensed under the GNU General Public License, v2
#
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.25 2007/11/13 19:36:50 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.26 2008/04/06 16:35:18 betelgeuse Exp $
inherit java-utils-2
@@ -43,6 +43,12 @@ DEPEND="${JAVA_PKG_E_DEPEND}"
# ------------------------------------------------------------------------------
RDEPEND="${DEPEND}"
+# Commons packages follow the same rules so do it here
+if [[ ${CATEGORY} = dev-java && ${PN} = commons-* ]]; then
+ HOMEPAGE="http://commons.apache.org/${PN#commons-}/"
+ SRC_URI="mirror://apache/${PN/-///}/source/${P}-src.tar.gz"
+fi
+
EXPORT_FUNCTIONS pkg_setup src_compile
# ------------------------------------------------------------------------------