42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# Template file for 's6-networking'
|
|
pkgname=s6-networking
|
|
version=2.3.0.4
|
|
revision=1
|
|
build_style=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 --bindir=/usr/bin"
|
|
short_desc="Suite of small network utilities for Unix systems"
|
|
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
|
license="ISC"
|
|
homepage="https://skarnet.org/software/${pkgname}/"
|
|
changelog="https://skarnet.org/software/s6-networking/upgrade.html"
|
|
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=0ae36a4adcf0000324d0cdb48767d7aa2b185a4e69105d3e7087a1cb2ab87802
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) makedepends+=" nsss-devel" configure_args+=" --enable-nsss" ;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
vdoc README
|
|
vcopy "doc/*" usr/share/doc/${pkgname}
|
|
}
|
|
|
|
s6-networking-doc_package() {
|
|
archs=noarch
|
|
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"
|
|
}
|
|
}
|