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" | |
8be8bb06 FF |
3 | TERMUX_PKG_VERSION=2.1.10 |
4 | TERMUX_PKG_SHA256=c985e94bebd6ec2f6af3d95dcc3fcb192a2ddb7781a021d70ee899e26221f619 | |
6d461571 FF |
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 () { | |
d13d71aa FF |
9 | # Force fresh install: |
10 | rm -f $TERMUX_PREFIX/include/talloc.h | |
11 | ||
c29568fd | 12 | # Make sure symlinks are installed: |
f861fe19 | 13 | rm $TERMUX_PREFIX/lib/libtalloc* || true |
c29568fd | 14 | |
6d461571 FF |
15 | cd $TERMUX_PKG_SRCDIR |
16 | ||
17 | cat <<EOF > cross-answers.txt | |
18 | Checking uname sysname type: "Linux" | |
19 | Checking uname machine type: "dontcare" | |
20 | Checking uname release type: "dontcare" | |
21 | Checking uname version type: "dontcare" | |
22 | Checking simple C program: OK | |
23 | building library support: OK | |
24 | Checking for large file support: OK | |
25 | Checking for -D_FILE_OFFSET_BITS=64: OK | |
26 | Checking for WORDS_BIGENDIAN: OK | |
27 | Checking for C99 vsnprintf: OK | |
28 | Checking for HAVE_SECURE_MKSTEMP: OK | |
29 | rpath library support: OK | |
59ca138b | 30 | -Wl,--version-script support: FAIL |
6d461571 FF |
31 | Checking correct behavior of strtoll: OK |
32 | Checking correct behavior of strptime: OK | |
33 | Checking for HAVE_IFACE_GETIFADDRS: OK | |
34 | Checking for HAVE_IFACE_IFCONF: OK | |
35 | Checking for HAVE_IFACE_IFREQ: OK | |
36 | Checking getconf LFS_CFLAGS: OK | |
37 | Checking for large file support without additional flags: OK | |
38 | Checking for working strptime: OK | |
39 | Checking for HAVE_SHARED_MMAP: OK | |
40 | Checking for HAVE_MREMAP: OK | |
41 | Checking for HAVE_INCOHERENT_MMAP: OK | |
42 | Checking getconf large file support flags work: OK | |
43 | EOF | |
44 | ||
45 | ./configure --prefix=$TERMUX_PREFIX \ | |
428c7139 FF |
46 | --disable-rpath \ |
47 | --disable-python \ | |
48 | --cross-compile \ | |
49 | --cross-answers=cross-answers.txt | |
6d461571 | 50 | } |