31 lines
820 B
Bash
31 lines
820 B
Bash
# Template file for 'getdns'
|
|
pkgname=getdns
|
|
version=1.5.0
|
|
revision=1
|
|
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="A 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=577182c3ace919ee70cee5629505581a10dc530bd53fe5c241603ea91c84fa84
|
|
|
|
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
|
|
}
|
|
}
|