termux-packages/packages/c-ares/build.sh

12 lines
550 B
Bash
Raw Normal View History

2016-10-31 23:02:42 +01:00
TERMUX_PKG_HOMEPAGE=https://c-ares.haxx.se
2018-02-17 00:43:47 +01:00
TERMUX_PKG_DESCRIPTION="Library for asynchronous DNS requests (including name resolves)"
TERMUX_PKG_LICENSE="MIT"
2020-03-16 13:41:20 +01:00
TERMUX_PKG_VERSION=1.16.0
2018-03-23 00:14:02 +01:00
TERMUX_PKG_SRCURL=https://github.com/c-ares/c-ares/archive/cares-${TERMUX_PKG_VERSION//./_}.tar.gz
2020-03-16 13:41:20 +01:00
TERMUX_PKG_SHA256=b045ef78cda05edd4c677ab351f209315aab8fb041051031bdbe185aaf74baf3
TERMUX_PKG_BREAKS="c-ares-dev"
TERMUX_PKG_REPLACES="c-ares-dev"
2018-02-17 00:43:47 +01:00
# Build with cmake to install cmake/c-ares/*.cmake files:
TERMUX_PKG_FORCE_CMAKE=true
2018-02-17 00:43:47 +01:00
TERMUX_PKG_RM_AFTER_INSTALL="bin/"