Commit Graph

38 Commits

Author SHA1 Message Date
Leonid Pliushch
78753592c7 perl: update to 5.30.1 2019-12-21 20:49:55 +02:00
Leonid Pliushch
be6b7c30a8 perl: replace hardcoded prefix path with variable in build.sh 2019-09-20 00:44:47 +03:00
Leonid Pliushch
c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00
Leonid Pliushch
c81d4c8698 add stubs to prevent on-device building packages with dangerous operations in build.sh
%ci:no-build
2019-08-08 16:58:34 +03:00
Leonid Pliushch
6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +03:00
Fredrik Fornwall
475456104e perl: Update from 5.28.2 to 5.30.0 2019-06-09 19:43:24 +02:00
Henrik Grimler
eb5f59aa0e perl: fix default libpath
Makes it easier to install cpan modules
2019-05-17 21:42:07 +02:00
Fredrik Fornwall
07b64c55e4 perl: Update from 5.28.1 to 5.28.2 2019-04-22 18:22:04 +02:00
Leonid Pliushch
1b7c4a5f80 perl: force-enable DT_RUNPATH 2019-03-24 21:27:53 +02:00
Wetitpig
d50c847f11 Shell script compliance 2019-02-15 18:01:09 +02:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall
28b91acbdf perl: Update from 5.28.0 to 5.28.1 2018-12-09 23:11:18 +01:00
Fredrik Fornwall
161259f190 perl: Build with -Dosname=android 2018-09-22 03:11:38 +02:00
Fredrik Fornwall
3cdea45b3a perl: Adopt to -linux folder names (was: -android)
The ndk r18 update caused this. We still need to find out if this is ok
or causes any issues.
2018-09-20 02:03:19 +02:00
Fredrik Fornwall
8bca499af5 perl: Update from 5.26.2 to 5.28.0 2018-09-17 18:52:13 +02:00
Leonid Pliushch
576a2e05bc perl: fix tmpdir path in 'libperl.so' 2018-06-20 10:45:26 +02:00
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
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
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
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