# Template file for 'libasyncns'
pkgname=libasyncns
version=0.8
revision=8
build_style=gnu-configure
short_desc="C library for executing name service queries asynchronously"
homepage="http://0pointer.de/lennart/projects/libasyncns/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz"
checksum=4f1a66e746cbe54ff3c2fbada5843df4fbbbe7481d80be003e8d11161935ab74

CFLAGS="-fPIC"

libasyncns-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
