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