void-packages/srcpkgs/libasyncns/template

21 lines
924 B
Plaintext
Raw Normal View History

# Template file for 'libasyncns'
pkgname=libasyncns
version=0.8
distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="C library for executing name service queries asynchronously"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=4f1a66e746cbe54ff3c2fbada5843df4fbbbe7481d80be003e8d11161935ab74
long_desc="
libasyncns is a C library for Linux/Unix for executing name service queries
asynchronously. It is an asynchronous wrapper around getaddrinfo(3),
getnameinfo(3), res_query(3) and res_search(3) from libc and libresolv.
In contrast to GNU's asynchronous name resolving API getaddrinfo_a(),
libasyncns does not make use of UNIX signals for reporting completion of
name queries. Instead, the API exports a standard UNIX file descriptor which
may be integerated cleanly into custom main loops."
subpackages="$pkgname-devel"
Add_dependency run glibc