2009-12-22 19:24:55 +00:00
|
|
|
# Template file for 'libasyncns'
|
|
|
|
pkgname=libasyncns
|
|
|
|
version=0.8
|
2013-04-13 08:15:49 +00:00
|
|
|
revision=6
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2010-11-19 22:24:31 +00:00
|
|
|
configure_args="CFLAGS=-fPIC"
|
2009-12-22 19:24:55 +00:00
|
|
|
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"
|
2009-12-22 19:24:55 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-13 08:15:49 +00:00
|
|
|
distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz"
|
2009-12-22 19:24:55 +00:00
|
|
|
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."
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libasyncns-devel_package() {
|
|
|
|
depends="libasyncns>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libasyncns_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|