summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorKrzysztof Koroscik <soltys@szluug.org>2010-08-21 00:26:49 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2010-08-21 12:53:44 +0200
commit956a0e475ca5b4be4072e84dc3f748bb2b465e96 (patch)
treecf4d3766fcf379d3b575592923396173969fcd9b /classes
parentbb4a58049e80053b0153ff0e2db0f29e976c8599 (diff)
shr: add shr-mirrors.bbclass and make use of it
Signed-off-by: Krzysztof Koroscik <soltys@szluug.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/shr-mirrors.bbclass13
1 files changed, 13 insertions, 0 deletions
diff --git a/classes/shr-mirrors.bbclass b/classes/shr-mirrors.bbclass
new file mode 100644
index 0000000000..92a41ad680
--- /dev/null
+++ b/classes/shr-mirrors.bbclass
@@ -0,0 +1,13 @@
+PREMIRRORS_append () {
+cvs://.*/.* http://build.shr-project.org/sources/
+svn://.*/.* http://build.shr-project.org/sources/
+git://.*/.* http://build.shr-project.org/sources/
+hg://.*/.* http://build.shr-project.org/sources/
+bzr://.*/.* http://build.shr-project.org/sources/
+}
+
+MIRRORS_append () {
+ftp://.*/.* http://build.shr-project.org/sources/
+https?$://.*/.* http://build.shr-project.org/sources/
+}
+