void-packages/srcpkgs/s6-networking/template

36 lines
922 B
Bash
Raw Normal View History

2015-09-27 15:13:05 +00:00
# Template file for 's6-networking'
pkgname=s6-networking
2015-10-17 14:20:38 +00:00
version=2.1.0.4
2015-09-27 15:13:05 +00:00
revision=1
build_style=gnu-configure
makedepends="execline-devel skalibs-devel s6-devel s6-dns-devel"
configure_args="--libdir=/usr/lib"
short_desc="Suite of small network utilities 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-17 14:20:38 +00:00
checksum=0fb4bd02371077c6bed2878d22c9acbfc01834da6752277fbb92d8312076640a
2015-09-27 15:13:05 +00:00
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
s6-networking-doc_package() {
noarch=yes
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}
s6-networking-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
}
}