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
commit65469a8eb14aeb24747c7adac2872d05a00c0741 (patch)
tree5fc66617256e96861db49925f2473455d7b4bdc2 /eclass/java-pkg-2.eclass
parentFixed missing man pages in 0.6.7. (diff)
downloadhistorical-65469a8eb14aeb24747c7adac2872d05a00c0741.tar.gz
historical-65469a8eb14aeb24747c7adac2872d05a00c0741.tar.bz2
historical-65469a8eb14aeb24747c7adac2872d05a00c0741.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
# ------------------------------------------------------------------------------