Commit Graph

19 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
Fredrik Fornwall
e7ad5dc071 libgc: Update from 7.6.2 to 7.6.4 2018-05-19 01:15:06 +02:00
Fredrik Fornwall
b070288dcd libgc: Update from 7.6.0 to 7.6.2 2017-12-27 12:45:03 +01:00
Fredrik Fornwall
c12cc9c53f libgc: Update libatomic_ops from 7.4.6 to 7.4.8 2017-12-20 02:02:26 +01:00
Fredrik Fornwall
033a8b3d4c libgc: Bump revision number after patch 2017-10-19 21:36:25 +02:00
Fredrik Fornwall
fe909420c0 libc: Place TERMUX_PKG_REVISION beneath version 2017-09-29 00:15:57 +02:00
its-pointless
7b0bed722b libgc fix for x86 need it for guile (#1588) 2017-09-29 00:15:27 +02:00
Fredrik Fornwall
a988672a93 libgc: Update atomic_ops from 7.4.4 to 7.4.6 2017-06-02 14:00:57 +02:00
Fredrik Fornwall
23289d81e9 Add some more source checksums 2017-02-12 22:15:13 +01:00
Fredrik Fornwall
a3cc83a0a3 libgc: curl -> termux_download 2017-01-11 02:13:42 -05:00
Fredrik Fornwall
508fa73cb8 Always call post-extract step in srcdir 2017-01-10 03:14:35 -05:00
Fredrik Fornwall
3749ab7c42 libgc: Remove useless build step 2017-01-05 18:32:33 -05:00
Fredrik Fornwall
7ce5638519 Cleanup of more packages 2016-09-03 18:45:08 -04:00
Fredrik Fornwall
026081b755 libgc: Update to latest release 2016-08-14 08:05:19 -04:00
Fredrik Fornwall
aabe6798b5 libgc: Update commit used 2016-03-10 06:07:05 -05:00
Fredrik Fornwall
aeda1764c8 libgc: Fix build 2016-01-15 05:36:07 -05:00
Fredrik Fornwall
cff6a81eb4 libgc: Build specified prerelase snapshot
Build a specific prerelease version of libgc instead of building
from latest version automatically.
2016-01-14 19:02:35 -05:00
Fredrik Fornwall
f98f7adc18 libgc: Use a master snapshot for instead of 7.4.2
This fixes building for aarch64
2016-01-04 06:24:46 -05:00
Fredrik Fornwall
59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00