termux-packages/packages/libllvm
Henrik Grimler 71594b6ea5 Allow TERMUX_PKG_SRCURL and TERMUX_PKG_SHA256 to be arrays (#2506)
* build-package.sh: allow for arrays in TERMUX_PKG_{SRCURL,SHA256}

Packages that require several source archives can then set these parameters to
arrays instead of downloading them "manually" in termux_step_post_extract.

Downloaded files are extracted into subfolders in TERMUX_PKG_SRCDIR.

Tested for backward compatibility in a couple of packages and the combinations
tar + tar, zip + tar, tar + zip, zip + zip.

* perl: download perl-cross through TERMUX_PKG_SRCURL

* perl: remove $PREFIX/{lib/libperl.so,include/perl} before build

Otherwise building perl twice doesn't give the same results, symlinks are
messed up.

Also remove old remnant from when there was a Kid.pm.patch.

* bash: fix tiny typo

* ecj: remove hardcoded SHA256 and pkg version

* elfutils: download argp-standalone through TERMUX_PKG_SRCURL

* ldc: download all src archives through TERMUX_PKG_SRCURL

* libgc: download libatomic_ops through TERMUX_PKG_SRCURL

* libllvm: download all src archives through TERMUX_PKG_SRCURL

* linux-man-pages: download src archives through TERMUX_PKG_SRCURL

* ncurses: download all src archives through TERMUX_PKG_SRCURL

* pngquant: download lib sources through TERMUX_PKG_SRCURL

Use .zip for lib since the downloaded archives are otherwise both named
$TERMUX_PKG_VERSION.tar.gz and replace each other. This causes caching to
not work.
2018-06-13 02:15:26 +02:00
..
0001-Transforms-Add-missing-header-for-InstructionCombini.patch llvm fixes using jit and calling getProcessTriple (#2299) 2018-04-07 00:50:40 +02:00
build.sh Allow TERMUX_PKG_SRCURL and TERMUX_PKG_SHA256 to be arrays (#2506) 2018-06-13 02:15:26 +02:00
clang.subpackage.sh llvm: Update from 5.0.1 to 6.0 2018-03-20 23:10:53 +01:00
docs-AMDGPUUsage.rst.patch libllvm: Fix building under ubuntu 18.04 2018-04-30 01:25:14 +02:00
docs-Proposals-VectorizationPlan.rst.patch libllvm: Fix building under ubuntu 18.04 2018-04-30 01:25:14 +02:00
libclang-dev.subpackage.sh llvm: Update from 5.0.1 to 6.0 2018-03-20 23:10:53 +01:00
libclang.subpackage.sh
lld.subpackage.sh llvm: Update from 5.0.1 to 6.0 2018-03-20 23:10:53 +01:00
llvm-config.in llvm fixes using jit and calling getProcessTriple (#2299) 2018-04-07 00:50:40 +02:00
llvm.subpackage.sh llvm: Update from 5.0.1 to 6.0 2018-03-20 23:10:53 +01:00
nl_types.h llvm: Update from 5.0.1 to 6.0 2018-03-20 23:10:53 +01:00
nltypes_stubs.cpp llvm: Update from 5.0.1 to 6.0 2018-03-20 23:10:53 +01:00
project-openmp-runtime-src-CMakeLists.txt.patch llvm: Update from 5.0.1 to 6.0 2018-03-20 23:10:53 +01:00
tools-clang-lib-Driver-ToolChain.cpp.patch
tools-clang-lib-Driver-ToolChains-Gnu.cpp.patch llvm: Update from 5.0.1 to 6.0 2018-03-20 23:10:53 +01:00
tools-clang-lib-Driver-ToolChains-Linux.cpp.patch llvm: Update from 5.0.1 to 6.0 2018-03-20 23:10:53 +01:00
tools-llvm-shlib-CMakeLists.txt.patch llvm: Update from 5.0.1 to 6.0 2018-03-20 23:10:53 +01:00