diff options
author | Dan Armak <danarmak@gentoo.org> | 2002-04-04 21:03:11 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2002-04-04 21:03:11 +0000 |
commit | 0fadeecc38b8e93f4564ccc054f530b26ff58f8b (patch) | |
tree | f7b5d015989046aab1ec96c4a5f4592df644fb0d /eclass | |
parent | add opengl support (opengl screensavers) (diff) | |
download | gentoo-2-0fadeecc38b8e93f4564ccc054f530b26ff58f8b.tar.gz gentoo-2-0fadeecc38b8e93f4564ccc054f530b26ff58f8b.tar.bz2 gentoo-2-0fadeecc38b8e93f4564ccc054f530b26ff58f8b.zip |
kde.org: add kde download mirrors
kde-dist; add SLOT setting to major and minor version but not revision, e.g. SLOT of 3.0 is 3.0 ubt
SLOT of 2.2.2 is 2.2
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde-dist.eclass | 9 | ||||
-rw-r--r-- | eclass/kde.org.eclass | 11 |
2 files changed, 16 insertions, 4 deletions
diff --git a/eclass/kde-dist.eclass b/eclass/kde-dist.eclass index 59f2bd3dde5a..5b014437d1c1 100644 --- a/eclass/kde-dist.eclass +++ b/eclass/kde-dist.eclass @@ -1,7 +1,7 @@ # 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-dist.eclass,v 1.9 2002/04/02 23:23:39 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-dist.eclass,v 1.10 2002/04/04 21:03:11 danarmak Exp $ # This is the kde-dist eclass for >=2.2.1 kde base packages. Don't use for kdelibs though :-) # Don't use it for e.g. kdevelop, koffice because of their separate versionnig schemes. inherit kde-base kde.org @@ -13,3 +13,10 @@ DESCRIPTION="KDE ${PV} - " HOMEPAGE="http://www.kde.org/" myconf="$myconf --enable-final" + +case $PV in + 2.1*) SLOT="2.1";; + 2.2*) SLOT="2.2";; + 3.0*) SLOT="3.0";; + 3.1*) SLOT="3.1";; +esac
\ No newline at end of file diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass index e479e60cd836..511a43875bf8 100644 --- a/eclass/kde.org.eclass +++ b/eclass/kde.org.eclass @@ -1,11 +1,16 @@ # 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.3 2001/10/03 17:10:16 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.org.eclass,v 1.4 2002/04/04 21:03:11 danarmak Exp $ # Contains the locations of ftp.kde.org packages and their mirrors ECLASS=kde.org SRC_PATH="kde/stable/${PV}/src/${P}.tar.bz2" SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH - ftp://ftp.fh-heilbronn.de/pub/mirrors/$SRC_PATH - ftp://ftp.sourceforge.net/pub/mirrors/$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" + |