Commit Graph

17 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
8fa28fbd19 elfutils: Update from 0.168 to 0.170 2017-12-10 01:21:26 +01:00
Fredrik Fornwall
8ac5e89a03 Rebuild packages linking against libintl.so
The libintl.so library was a symlink to libandroid-support. We
now provide the functions inline in libintl.h so libintl.so has
been removed.

Fixes #1283.
2017-08-17 11:12:17 +02:00
Fredrik Fornwall
1e76a0be0e elfutils: Remove -lintl after libintl.h change 2017-08-17 00:39:19 +02:00
Fredrik Fornwall
6c29aaa1c7 Transition from gnustl to libc++
This will make things as std::to_string() and other C++ features
work with a modern and supported C++ library.

We package up libc++_shared.so and bump the revision of every C++
using package to make it rebuild against it.

Users who have built C++ using libraries or programs will probably
need to rebuild them if they are linked against Termux-supplied
libraries, as user code was previously linked against gnustl while
the system libraries are now using libc++, and it's not a good idea
to mix C++ standard libraries in a program.
2017-07-14 00:23:37 +02:00
Fredrik Fornwall
4a4d5b68c3 Avoid ndk patch used only by elfutils 2017-07-09 23:35:21 +02:00
Fredrik Fornwall
0253d343c5 elfutils: Update homepage and use source checksums 2017-03-06 00:06:11 +01:00
Fredrik Fornwall
4219525cdf Use rpath-link hack on all aarch64 gcc builds 2017-01-18 11:44:51 +01:00
Fredrik Fornwall
70035f21f3 elfutils: Fix aarch64 build 2017-01-18 10:33:46 +01:00
Fredrik Fornwall
862eacbaea elfutils: Note that it doesn't build with clang 2017-01-15 19:39:32 +01:00
Fredrik Fornwall
b4e3a43bed elfutils: Update from 0.167 to 0.168 2017-01-14 19:36:15 -05:00
Fredrik Fornwall
7b467de9c7 elfutils: Update from 0.166 to 0.167 2016-09-26 08:08:13 -04:00
Fredrik Fornwall
7ce5638519 Cleanup of more packages 2016-09-03 18:45:08 -04:00
Fredrik Fornwall
335433e716 elfutils: Small preparation for clang 2016-05-18 16:47:18 -04:00
Fredrik Fornwall
3901fa29d2 elfutils: Remove clearing of library files
The spurious linking against libelf when autoconf checks for
getloadavg has been fixed in the affected packaegs
2016-05-08 20:05:21 -04:00
Fredrik Fornwall
27b2f76930 elfutils: Depend on liblzma and libbz2 2016-05-04 17:05:15 -04:00
Fredrik Fornwall
a265a2a806 libelf: Rename to sensible elfutils 2016-05-04 15:31:47 -04:00