void-packages/srcpkgs/libasyncns/template

25 lines
720 B
Bash

# Template file for 'libasyncns'
pkgname=libasyncns
version=0.8
revision=9
build_style=gnu-configure
short_desc="C library for executing name service queries asynchronously"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1"
homepage="http://0pointer.de/lennart/projects/libasyncns/"
distfiles="http://0pointer.de/lennart/projects/libasyncns/libasyncns-${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"
}
}