summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-07-05 11:36:45 +0000
committerDan Armak <danarmak@gentoo.org>2002-07-05 11:36:45 +0000
commit5f2eda46494263eb834c36f5dc90e12836662769 (patch)
tree0bc741c1226313ac8563c34e3cf8f1c4eb570a4a
parenttypo fix (diff)
downloadhistorical-5f2eda46494263eb834c36f5dc90e12836662769.tar.gz
historical-5f2eda46494263eb834c36f5dc90e12836662769.tar.bz2
historical-5f2eda46494263eb834c36f5dc90e12836662769.zip
add new eclass kde-i18n.org for the new placement scheme used starting 3.0.2 for kde i18n
tarballs
-rw-r--r--eclass/kde-i18n.eclass4
-rw-r--r--eclass/kde-i18n.org.eclass23
2 files changed, 25 insertions, 2 deletions
diff --git a/eclass/kde-i18n.eclass b/eclass/kde-i18n.eclass
index 9ee842234091..2def1f307a39 100644
--- a/eclass/kde-i18n.eclass
+++ b/eclass/kde-i18n.eclass
@@ -1,8 +1,8 @@
# 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-i18n.eclass,v 1.17 2002/07/01 19:13:32 danarmak Exp $
-inherit kde kde.org
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-i18n.eclass,v 1.18 2002/07/05 11:36:44 danarmak Exp $
+inherit kde kde-i18n.org
ECLASS=kde-i18n
S=${WORKDIR}/${PN}
diff --git a/eclass/kde-i18n.org.eclass b/eclass/kde-i18n.org.eclass
new file mode 100644
index 000000000000..dcc7aedafb6f
--- /dev/null
+++ b/eclass/kde-i18n.org.eclass
@@ -0,0 +1,23 @@
+# 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-i18n.org.eclass,v 1.1 2002/07/05 11:36:45 danarmak Exp $
+# Contains the locations of i18n ftp.kde.org packages and their mirrors
+ECLASS=kde.org
+
+SRC_PATH="kde/stable/${PV}/src/${P}.tar.bz2"
+
+# new location format starting with 3.0.2
+if [ "$PV" == "3.0.2" ]; then
+ SRC_PATH="kde/stable/${PV}/src/kde-i18n/${P}.tar.bz2"
+fi
+
+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"
+
+debug-print "$ECLASS: finished, SRC_URI=$SRC_URI"