void-packages/srcpkgs/libasyncns/template

33 lines
1.2 KiB
Text
Raw Normal View History

# Template file for 'libasyncns'
pkgname=libasyncns
version=0.8
2013-05-06 15:03:39 +00:00
revision=7
build_style=gnu-configure
2013-05-06 15:03:39 +00:00
configure_args="CFLAGS=-fPIC ac_cv_func_malloc_0_nonnull=yes"
short_desc="C library for executing name service queries asynchronously"
2013-03-29 12:37:58 +00:00
homepage="http://0pointer.de/lennart/projects/libasyncns/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz"
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."
libasyncns-devel_package() {
depends="libasyncns>=${version}"
2013-05-06 15:03:39 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}