31 lines
818 B
Bash
31 lines
818 B
Bash
# Template file for 'getdns'
|
|
pkgname=getdns
|
|
version=1.5.1
|
|
revision=7
|
|
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"
|
|
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=5686e61100599c309ce03535f9899a5a3d94a82cc08d10718e2cd73ad3dc28af
|
|
|
|
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
|
|
}
|
|
}
|