# Template file for 's6' pkgname=s6 version=2.7.1.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="Small suite of programs for UNIX, designed to allow process supervision" maintainer="Juan RP " license="ISC" homepage="http://skarnet.org/software/s6/" distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz" checksum=f37547f2890eb50bcb4cd46ffa38bad5ec9e6fd6bc7b73a8df0bdf0cf11f01a9 post_install() { vlicense COPYING vdoc README vcopy "doc/*" usr/share/doc/${pkgname} } s6-doc_package() { noarch=yes short_desc="s6 supervision documentation" depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/share/doc } } s6-devel_package() { short_desc="s6 supervision library and headers" pkg_install() { vmove usr/include vmove usr/lib/*.a } }