void-packages/srcpkgs/s6-dns/template
2019-09-25 12:42:12 +02:00

37 lines
994 B
Bash

# Template file for 's6-dns'
pkgname=s6-dns
version=2.3.1.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
--with-lib=${XBPS_CROSS_BASE}/usr/lib"
makedepends="execline-devel skalibs-devel"
short_desc="Suite of DNS client programs and libraries for Unix systems"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="ISC"
homepage="https://skarnet.org/software/${pkgname}/"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b11ce255668b683d785a1ef8ba89551a9586481b8888bc1a66d4b997e68892ca
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
s6-dns-doc_package() {
archs=noarch
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}
s6-dns-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
}
}