Commit Graph

16 Commits

Author SHA1 Message Date
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
tomty89 92fb0e15fd ecj: provide android-21.jar instead of android-16.jar (#2274) 2018-03-25 00:02:47 +01:00
Fredrik Fornwall d94c342761 aapt&ecj: Use jar instead of zip 2017-11-21 05:26:30 +01:00
Fredrik Fornwall 0c0af59332 Update NDK used to r16
Run scripts/update-docker.sh to update the docker image.
2017-11-15 16:48:35 +01:00
Fredrik Fornwall dd3f1e067e ecj: Switch to working mirror 2017-09-20 22:03:06 +02:00
Fredrik Fornwall b7dabb9f07 ecj: Switch to working src url 2017-09-20 00:17:44 +02:00
Fredrik Fornwall 3913027323 ecj: Clean up directory before adding android-16 2017-08-11 14:26:15 +02:00
joakim-noah 8d9d214591 ecj: Add android-16 API jar too (#1133) 2017-08-11 14:22:47 +02:00
Fredrik Fornwall 64666c40b2 Update android platform setup
- Update to build tools 26.0.1.
- Update from android-25 to android-26.
- Add android-16 for use in https://github.com/termux/termux-packages/pull/1133
2017-08-11 14:09:32 +02:00
Fredrik Fornwall 81c7229f5a Update android tools and build tools
The Docker image has been rebuilt, update with:

scripts/update-docker.sh
2017-05-20 21:17:00 +02:00
Fredrik Fornwall 5a24f7a676 ecj: Update from 4.5.2 to 4.6.2 2017-01-04 19:09:03 -05:00
Fredrik Fornwall 078db5b2c9 ecj: Use android-24 API jar 2016-10-06 19:37:03 -04:00
Fredrik Fornwall a68adb036f ecj: Fix missing \ in ecj script 2016-08-10 09:53:47 -04:00
Fredrik Fornwall 819b205ab0 ecj: Use TERMUX_DX variable 2016-07-23 15:48:44 -04:00
Fredrik Fornwall ad3050005c ecj: Update from 4.4.2 to 4.5.2 2016-05-03 11:50:57 +02:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00