Commit Graph

24 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
fff0d4a41d perl: Update from 5.26.1 to 5.26.2 2018-04-22 22:04:23 +02:00
Fredrik Fornwall
ff58b27ce0 perl: Update from 5.26.0 to 5.26.1 2017-10-02 11:00:31 +02:00
Fredrik Fornwall
7c481d0da6 perl: Fix building with unified headers 2017-06-28 11:49:23 +02:00
Fredrik Fornwall
ecff2cea84 perl: Update from 5.24.1 to 5.26.0 2017-06-12 02:55:48 +02:00
Fredrik Fornwall
0e2bd86d00 perl: Bump build revision after patch added 2017-03-08 18:32:40 +01:00
rnauber
d415b125a8 Enable texlive (#752) 2017-03-08 17:41:26 +01:00
Fredrik Fornwall
cba558f6fe perl: Update perl-cross from 1.1.3 to 1.1.4 2017-02-24 21:12:49 +01:00
its-pointless
a7d4cb0351 fixes the config so cpan works on install. (#789)
* fixes the config so cpan works on install.

* fix so it actually works..
2017-02-24 20:46:47 +01:00
Fredrik Fornwall
84a0ee4ca5 perl: Update from 5.24.0 to 5.24.1 2017-01-28 15:50:49 +01:00
Fredrik Fornwall
a0e9a6368f perl: Cleanup build (fixes #669) 2017-01-19 10:16:52 +01:00
Fredrik Fornwall
508fa73cb8 Always call post-extract step in srcdir 2017-01-10 03:14:35 -05:00
Fredrik Fornwall
074699d8da perl: Update from 5.22.1 to 5.24.0 2016-07-04 17:25:50 -04:00
Fredrik Fornwall
bb27a0ec42 Various package updates
Many of them cascading from the update of glib.
2016-05-04 08:54:30 -04:00
Fredrik Fornwall
a02b038331 perl: Link against libper.so in modules
Fixes #229.
2016-04-22 19:18:50 -04:00
Fredrik Fornwall
a3462cd1b9 perl: Build libperl.so for embedding 2016-04-22 03:25:16 -04:00
Fredrik Fornwall
f5a7d27851 perl: Setup File::Spec->tmpdir correctly 2016-04-19 17:22:36 -04:00
Fredrik Fornwall
651efa781e perl: Bump build revision to force rebuild
This rebuild will be against a patched pwd.h so that perl does not
try to link in 'endpwent', which has been removed in Android N.

Fixes #212.
2016-04-13 20:30:02 -04:00
Francisco Demartino
93b884f130 ndk_patches/stdio.h.patch: add bogus ctermid() 2015-12-24 04:13:53 -03:00
Fredrik Fornwall
704e64f22c perl: Update from 5.22.0 to 5.22.1 2015-12-15 08:55:07 -05:00
Fredrik Fornwall
37128d280e Fix perl 5.22 build 2015-09-07 12:00:57 -04:00
Fredrik Fornwall
aba4a7e08d perl: Update to 5.22 2015-08-30 20:35:01 -04:00
Fredrik Fornwall
9a9aaa90df perl: Replace symlinks with hardlinks 2015-07-08 21:21:45 -04:00
Fredrik Fornwall
59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00