24 lines
699 B
Bash
24 lines
699 B
Bash
# Template file for 'resolv_wrapper'
|
|
pkgname=resolv_wrapper
|
|
version=1.1.8
|
|
revision=1
|
|
archs="~*-musl" # missing res_ninit, res_nclose, etc
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
short_desc="Wrapper for DNS name resolving or DNS faking"
|
|
maintainer="Otto Modinos <ottomodinos@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://cwrap.org/resolv_wrapper.html"
|
|
distfiles="https://download.samba.org/pub/cwrap/${pkgname}-${version}.tar.gz"
|
|
checksum=fbc30f77da3e12ecd4ef66ccf5ab77e0b744930ccd89062404082f928a8ec2e0
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -DUNIT_TESTING=ON"
|
|
makedepends+=" cmocka-devel socket_wrapper"
|
|
checkdepends+=" cmocka"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|