void-packages/srcpkgs/s6-dns/template

37 lines
896 B
Bash
Raw Normal View History

2015-09-27 17:04:11 +02:00
# Template file for 's6-dns'
pkgname=s6-dns
2015-10-05 14:19:26 +02:00
version=2.0.0.6
2015-09-27 17:04:11 +02:00
revision=1
build_pie=yes
build_style=gnu-configure
makedepends="execline-devel skalibs-devel"
configure_args="--libdir=/usr/lib"
short_desc="Suite of DNS client programs and libraries for Unix systems"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="ISC"
homepage="http://skarnet.org/software/${pkgname}/"
distfiles="http://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
2015-10-05 14:19:26 +02:00
checksum=dc63c9247bd18984de1197798533a01bc16e250fa8de11037481fd82831fede8
2015-09-27 17:04:11 +02:00
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
s6-dns-doc_package() {
noarch=yes
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
}
}