void-packages/srcpkgs/s6-dns/template
2021-02-01 01:13:09 -03:00

36 lines
947 B
Bash

# Template file for 's6-dns'
pkgname=s6-dns
version=2.3.5.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/s6-dns"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
checksum=9f0b71c82cb51e9b7f998978d94c44e5e896fa60105f7233544db539572bb740
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
s6-dns-doc_package() {
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
}
}