void-packages/srcpkgs/libmicrodns/template

23 lines
654 B
Bash

# Template file for 'libmicrodns'
pkgname=libmicrodns
version=0.1.2
revision=1
build_style=meson
hostmakedepends="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=2b4d733f9472e11b71d66208c025de2e1f4a1087814bdc1e12e1aa78aca670e5
libmicrodns-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}