Commit | Line | Data |
---|---|---|
6d461571 FF |
1 | TERMUX_PKG_HOMEPAGE=https://talloc.samba.org/talloc/doc/html/index.html |
2 | TERMUX_PKG_DESCRIPTION="Hierarchical, reference counted memory pool system with destructors" | |
0feaa732 | 3 | TERMUX_PKG_VERSION=2.1.8 |
6d461571 FF |
4 | TERMUX_PKG_SRCURL=https://www.samba.org/ftp/talloc/talloc-${TERMUX_PKG_VERSION}.tar.gz |
5 | TERMUX_PKG_BUILD_IN_SRC="yes" | |
6 | ||
7 | termux_step_configure () { | |
d13d71aa FF |
8 | # Force fresh install: |
9 | rm -f $TERMUX_PREFIX/include/talloc.h | |
10 | ||
c29568fd | 11 | # Make sure symlinks are installed: |
f861fe19 | 12 | rm $TERMUX_PREFIX/lib/libtalloc* || true |
c29568fd | 13 | |
6d461571 FF |
14 | cd $TERMUX_PKG_SRCDIR |
15 | ||
16 | cat <<EOF > cross-answers.txt | |
17 | Checking uname sysname type: "Linux" | |
18 | Checking uname machine type: "dontcare" | |
19 | Checking uname release type: "dontcare" | |
20 | Checking uname version type: "dontcare" | |
21 | Checking simple C program: OK | |
22 | building library support: OK | |
23 | Checking for large file support: OK | |
24 | Checking for -D_FILE_OFFSET_BITS=64: OK | |
25 | Checking for WORDS_BIGENDIAN: OK | |
26 | Checking for C99 vsnprintf: OK | |
27 | Checking for HAVE_SECURE_MKSTEMP: OK | |
28 | rpath library support: OK | |
59ca138b | 29 | -Wl,--version-script support: FAIL |
6d461571 FF |
30 | Checking correct behavior of strtoll: OK |
31 | Checking correct behavior of strptime: OK | |
32 | Checking for HAVE_IFACE_GETIFADDRS: OK | |
33 | Checking for HAVE_IFACE_IFCONF: OK | |
34 | Checking for HAVE_IFACE_IFREQ: OK | |
35 | Checking getconf LFS_CFLAGS: OK | |
36 | Checking for large file support without additional flags: OK | |
37 | Checking for working strptime: OK | |
38 | Checking for HAVE_SHARED_MMAP: OK | |
39 | Checking for HAVE_MREMAP: OK | |
40 | Checking for HAVE_INCOHERENT_MMAP: OK | |
41 | Checking getconf large file support flags work: OK | |
42 | EOF | |
43 | ||
44 | ./configure --prefix=$TERMUX_PREFIX \ | |
428c7139 FF |
45 | --disable-rpath \ |
46 | --disable-python \ | |
47 | --cross-compile \ | |
48 | --cross-answers=cross-answers.txt | |
6d461571 | 49 | } |