

def build_arch(self, arch):
    super(LevelDBRecipe, self).build_arch(arch)
    env = self.get_recipe_env(arch)
    with current_directory(self.get_build_dir(arch.arch)):
        if ('snappy' in recipe.ctx.recipe_build_order):
            sh.cp('-rf', self.get_recipe('snappy', self.ctx).get_build_dir(arch.arch), 'snappy')
        shprint(sh.make, _env=env)
        shutil.copyfile('libleveldb.so', join(self.ctx.get_libs_dir(arch.arch), 'libleveldb.so'))
    shutil.copyfile((((((self.ctx.ndk_dir + '/sources/cxx-stl/gnu-libstdc++/') + self.ctx.toolchain_version) + '/libs/') + arch.arch) + '/libgnustl_shared.so'), join(self.ctx.get_libs_dir(arch.arch), 'libgnustl_shared.so'))

dataset/ETHPy150Open kivy/python-for-android/pythonforandroid/recipes/leveldb/__init__.py LevelDBRecipe.build_arch/original