Add libtalloc and proot as disabled packages
[termux-packages] / disabled-packages / libtalloc / build.sh
1 # Compiles, but unused (proot will perhaps use it)
2 TERMUX_PKG_HOMEPAGE=https://talloc.samba.org/talloc/doc/html/index.html
3 TERMUX_PKG_DESCRIPTION="Hierarchical, reference counted memory pool system with destructors"
4 TERMUX_PKG_VERSION=2.1.3
5 TERMUX_PKG_SRCURL=https://www.samba.org/ftp/talloc/talloc-${TERMUX_PKG_VERSION}.tar.gz
6 TERMUX_PKG_BUILD_IN_SRC="yes"
7
8 termux_step_configure () {
9 cd $TERMUX_PKG_SRCDIR
10
11 cat <<EOF > cross-answers.txt
12 Checking uname sysname type: "Linux"
13 Checking uname machine type: "dontcare"
14 Checking uname release type: "dontcare"
15 Checking uname version type: "dontcare"
16 Checking simple C program: OK
17 building library support: OK
18 Checking for large file support: OK
19 Checking for -D_FILE_OFFSET_BITS=64: OK
20 Checking for WORDS_BIGENDIAN: OK
21 Checking for C99 vsnprintf: OK
22 Checking for HAVE_SECURE_MKSTEMP: OK
23 rpath library support: OK
24 -Wl,--version-script support: OK
25 Checking correct behavior of strtoll: OK
26 Checking correct behavior of strptime: OK
27 Checking for HAVE_IFACE_GETIFADDRS: OK
28 Checking for HAVE_IFACE_IFCONF: OK
29 Checking for HAVE_IFACE_IFREQ: OK
30 Checking getconf LFS_CFLAGS: OK
31 Checking for large file support without additional flags: OK
32 Checking for working strptime: OK
33 Checking for HAVE_SHARED_MMAP: OK
34 Checking for HAVE_MREMAP: OK
35 Checking for HAVE_INCOHERENT_MMAP: OK
36 Checking getconf large file support flags work: OK
37 EOF
38
39 ./configure --prefix=$TERMUX_PREFIX \
40 --disable-rpath \
41 --cross-compile \
42 --cross-answers=cross-answers.txt
43 }