fwd, preload-hacks: New packages.
[termux-packages] / packages / libtalloc / build.sh
CommitLineData
6d461571
FF
1TERMUX_PKG_HOMEPAGE=https://talloc.samba.org/talloc/doc/html/index.html
2TERMUX_PKG_DESCRIPTION="Hierarchical, reference counted memory pool system with destructors"
8c3763f5
FF
3TERMUX_PKG_VERSION=2.1.13
4TERMUX_PKG_SHA256=84f399dbf0ad97006a2b4953ea99452d033faac15aabfddd4ba61734764c6047
6d461571
FF
5TERMUX_PKG_SRCURL=https://www.samba.org/ftp/talloc/talloc-${TERMUX_PKG_VERSION}.tar.gz
6TERMUX_PKG_BUILD_IN_SRC="yes"
7
8termux_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
18Checking uname sysname type: "Linux"
19Checking uname machine type: "dontcare"
20Checking uname release type: "dontcare"
21Checking uname version type: "dontcare"
22Checking simple C program: OK
23building library support: OK
24Checking for large file support: OK
25Checking for -D_FILE_OFFSET_BITS=64: OK
26Checking for WORDS_BIGENDIAN: OK
27Checking for C99 vsnprintf: OK
28Checking for HAVE_SECURE_MKSTEMP: OK
29rpath library support: OK
59ca138b 30-Wl,--version-script support: FAIL
6d461571
FF
31Checking correct behavior of strtoll: OK
32Checking correct behavior of strptime: OK
33Checking for HAVE_IFACE_GETIFADDRS: OK
34Checking for HAVE_IFACE_IFCONF: OK
35Checking for HAVE_IFACE_IFREQ: OK
36Checking getconf LFS_CFLAGS: OK
37Checking for large file support without additional flags: OK
38Checking for working strptime: OK
39Checking for HAVE_SHARED_MMAP: OK
40Checking for HAVE_MREMAP: OK
41Checking for HAVE_INCOHERENT_MMAP: OK
42Checking getconf large file support flags work: OK
43EOF
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}