From 01d3b321262a01095ddf32b07119c47ab09e1d47 Mon Sep 17 00:00:00 2001 From: David Black Date: Wed, 26 Dec 2012 17:41:57 +0000 Subject: [PATCH] two srclibs: busybox and busybox configs --- fdroidserver/common.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index f63d97c5..8c41f292 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1367,6 +1367,20 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False): vcs.gotorevision(ref) return sdir + if name == 'Busybox': + sdir = os.path.join(extlib_dir, 'Busybox') + vcs = getvcs('git', + 'git://busybox.net/busybox.git', sdir, sdk_path) + vcs.gotorevision(ref) + return sdir + + if name == 'BusyboxConfigs': + sdir = os.path.join(extlib_dir, 'BusyboxConfigs') + vcs = getvcs('git', + 'https://github.com/tias/android-busybox-ndk.git', sdir, sdk_path) + vcs.gotorevision(ref) + return sdir + raise BuildException('Unknown srclib ' + name) -- 2.30.2