termux-packages/packages/libresolv-wrapper/build.sh

13 lines
509 B
Bash
Raw Normal View History

2021-11-26 00:59:31 +01:00
TERMUX_PKG_HOMEPAGE=https://cwrap.org/resolv_wrapper.html
TERMUX_PKG_DESCRIPTION="A wrapper for DNS name resolving or DNS faking"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.1.7
2021-12-26 19:04:44 +01:00
TERMUX_PKG_REVISION=2
2021-11-26 00:59:31 +01:00
TERMUX_PKG_SRCURL=https://ftp.samba.org/pub/cwrap/resolv_wrapper-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=460ae7fd5e53485be7dd99a55c5922f1cb1636b9e8821981d49ad16507c8a074
termux_step_pre_configure() {
2021-12-20 10:30:25 +01:00
CFLAGS+=" -DANDROID_CHANGES -DLIBC_SO=\\\"libc.so\\\""
2021-11-26 00:59:31 +01:00
}