void-packages/srcpkgs/getdns/template

32 lines
783 B
Bash

# Template file for 'getdns'
pkgname=getdns
version=1.7.0
revision=2
build_style=cmake
makedepends="libev-devel libidn2-devel libuv-devel unbound-devel
check-devel"
short_desc="Modern asynchronous DNS API"
maintainer="Orphaned <orphan@voidlinux.org>"
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
}
}