void-packages/srcpkgs/libmicrodns/template

29 lines
762 B
Bash

# Template file for 'libmicrodns'
pkgname=libmicrodns
version=0.1.0
revision=1
build_style=gnu-configure
hostmakedepends="autoconf automake libtool pkg-config"
short_desc="Minimal mDNS resolver library"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="LGPL-2.1-only"
homepage="https://github.com/videolabs/libmicrodns"
distfiles="https://github.com/videolabs/libmicrodns/archive/${version}.tar.gz"
checksum=aa16c9863962f54db991a0176ae75e60b9ab83f63c3b436806682c8a66443444
pre_configure() {
./bootstrap
}
libmicrodns-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share
}
}