# Template file for 's6-networking' pkgname=s6-networking version=2.3.0.2 revision=1 build_style=gnu-configure makedepends="execline-devel libressl-devel skalibs-devel s6-devel s6-dns-devel" configure_args="--libdir=/usr/lib --enable-ssl=libressl --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps --with-lib=${XBPS_CROSS_BASE}/usr/lib" short_desc="Suite of small network utilities for Unix systems" maintainer="lemmi " license="ISC" homepage="http://skarnet.org/software/${pkgname}/" distfiles="http://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz" checksum=d81968756abbcecde6a872c89d82f643cd621a0c295c2c57650705dbe875481a 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 } }