void-packages/srcpkgs/getdns/template
2021-07-14 11:16:42 -03:00

31 lines
799 B
Bash

# Template file for 'getdns'
pkgname=getdns
version=1.7.0
revision=1
build_style=cmake
makedepends="libev-devel libidn-devel libuv-devel unbound-devel
check-devel libidn2-devel"
short_desc="Modern asynchronous DNS API"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="BSD-3-Clause"
homepage="https://getdnsapi.net"
distfiles="https://getdnsapi.net/dist/getdns-${version}.tar.gz"
checksum=ea8713ce5e077ac76b1418ceb6afd25e6d4e39e9600f6f5e81d3a3a13a60f652
# GitHub Actions fail due to no IPv6
make_check=ci-skip
post_install() {
vlicense LICENSE
}
getdns-devel_package() {
depends="getdns-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}