chiark / gitweb /
two srclibs: busybox and busybox configs
authorDavid Black <david8black@gmail.com>
Wed, 26 Dec 2012 17:41:57 +0000 (17:41 +0000)
committerDavid Black <david8black@gmail.com>
Wed, 26 Dec 2012 17:41:57 +0000 (17:41 +0000)
fdroidserver/common.py

index f63d97c51f0451a547b81978b5f9adc8d99fb5e9..8c41f29297e5cd2095d556a7d63de04d0ce580ad 100644 (file)
@@ -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)