Added libasyncns-0.8 build template.

--HG--
extra : convert_revision : 25592feaf2290fe76f26ba11c64eb16526a51b17
This commit is contained in:
Juan RP 2009-12-22 20:24:55 +01:00
parent 8c05144cf6
commit 000d7c46b6
4 changed files with 42 additions and 0 deletions

1
srcpkgs/libasyncns-devel Symbolic link
View file

@ -0,0 +1 @@
libasyncns

View file

@ -0,0 +1,2 @@
abi_depends=">=0.8"
api_depends="${abi_depends}"

View file

@ -0,0 +1,19 @@
# Template file for 'libasyncns-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libasyncns
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
}

View file

@ -0,0 +1,20 @@
# 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