Commit Graph

15 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 291f2230e1 linux-man-pages: Update from 4.14 to 4.16 2018-05-19 01:49:08 +02:00
Fredrik Fornwall a6e262b755 linux-man-pages: Update from 4.13 to 4.14 2018-01-24 17:33:11 +01:00
Fredrik Fornwall b677d1b300 linux-man-pages: Update from 4.11 to 4.13 2017-10-15 01:02:39 +02:00
Wetitpig 3dae460b6e 1 build only for linux-man-pages (#1046) 2017-05-23 18:33:15 +02:00
Fredrik Fornwall 2ba9088919 linux-man-pages: Update from 4.10 to 4.11 2017-05-23 01:08:11 +02:00
Fredrik Fornwall f8cce0c098 Use more source checksums 2017-03-27 05:11:31 +02:00
Fredrik Fornwall 5e190dd4b3 getconf: Add package 2017-01-05 13:57:52 -05:00
Fredrik Fornwall 31e9aad497 linux-man-pages: Bump version, include posix 2016-10-19 17:21:11 -04:00
Fredrik Fornwall 278755bdfa linux-man-pages: Update from 4.04 to 4.07 2016-08-14 08:25:46 -04:00
Fredrik Fornwall 0195cf3e39 ilinux-man-pages: Update and add man as dependency 2016-02-10 10:10:11 -05:00
Fredrik Fornwall 307f9bf63e linux-man-pages: Update from 4.02 to 4.03 2015-12-25 15:36:21 -05:00
Fredrik Fornwall 130e534c41 linux-man-pages: Update to 4.02 from 4.01 2015-08-19 17:59:52 -04:00
Fredrik Fornwall a8f8576256 linux-man-pages: Update to 4.01 2015-07-23 18:56:01 -04:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00