2019-01-01 22:31:07 +00:00
|
|
|
# Template file for 'getdns'
|
|
|
|
pkgname=getdns
|
2019-01-11 21:21:03 +00:00
|
|
|
version=1.5.1
|
2019-01-09 00:22:42 +00:00
|
|
|
revision=2
|
2019-01-01 22:31:07 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-libev --with-libevent --with-libuv
|
|
|
|
--with-ssl=${XBPS_CROSS_BASE}/usr"
|
|
|
|
makedepends="libev-devel libidn-devel libuv-devel unbound-devel"
|
2019-01-11 21:21:03 +00:00
|
|
|
short_desc="Modern asynchronous DNS API"
|
2019-01-01 22:31:07 +00:00
|
|
|
maintainer="Frank Steinborn <steinex@nognu.de>"
|
|
|
|
license="BSD-3-Clause"
|
|
|
|
homepage="https://getdnsapi.net"
|
|
|
|
distfiles="https://getdnsapi.net/dist/getdns-${version}.tar.gz"
|
2019-01-11 21:21:03 +00:00
|
|
|
checksum=5686e61100599c309ce03535f9899a5a3d94a82cc08d10718e2cd73ad3dc28af
|
2019-01-01 22:31:07 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|