35 lines
978 B
Bash
35 lines
978 B
Bash
# Template file for 's6-dns'
|
|
pkgname=s6-dns
|
|
version=2.2.0.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
makedepends="execline-devel skalibs-devel"
|
|
configure_args="--libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps --with-lib=${XBPS_CROSS_BASE}/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"
|
|
checksum=e31b454aef2bd0e35afb497c42dd0d49c011e0535ad2bf4dd6719afcf6e5e6b4
|
|
|
|
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
|
|
}
|
|
}
|