28 lines
763 B
Bash
28 lines
763 B
Bash
# Template file for 'libmicrodns'
|
|
pkgname=libmicrodns
|
|
version=0.0.10
|
|
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=623e3077bd940816215d9707c217dc8f957d3dee9b7fd3ea7aaa4de0cd881833
|
|
|
|
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
|
|
}
|
|
}
|