summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/kde.org.eclass')
-rw-r--r--eclass/kde.org.eclass18
1 files changed, 9 insertions, 9 deletions
diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
index 93d87c3fc982..19c0a3a06a01 100644
--- a/eclass/kde.org.eclass
+++ b/eclass/kde.org.eclass
@@ -1,17 +1,17 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde.org.eclass,v 1.8 2002/06/05 19:09:21 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.org.eclass,v 1.9 2002/07/12 15:31:46 danarmak Exp $
# Contains the locations of ftp.kde.org packages and their mirrors
ECLASS=kde.org
+INHERITED="$INHERITED $ECLASS"
-SRC_PATH="kde/stable/${PV}/src/${P}.tar.bz2"
-SRC_URI="$SRC_URI ftp://ftp.kde.org/pub/$SRC_PATH
- ftp://download.us.kde.org/pub/kde/$SRC_PATH
- ftp://download.uk.kde.org/pub/kde/$SRC_PATH
- ftp://download.au.kde.org/pub/kde/$SRC_PATH
- ftp://download.at.kde.org/pub/kde/$SRC_PATH
- ftp://ftp.fh-heilbronn.de/pub/mirrors/$SRC_PATH
- ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH"
+# kde 3.1 prereleases have tarball versions of 3.0.6 ff
+case "$PV" in
+ 3.1_alpha1) SRC_PATH="unstable/kde-3.1-alpha1/src/${P//3.1_alpha1/3.0.6}.tar.bz2" ;;
+ 3*) SRC_PATH="stable/$PV/src/${P}.tar.bz2" ;;
+esac
+
+SRC_URI="mirror://kde/$SRC_PATH"
debug-print "$ECLASS: finished, SRC_URI=$SRC_URI"