From 0763095c68a8d0c957d2024b0555da30ebf8f0eb Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 18 Aug 2018 16:16:28 -0300 Subject: [PATCH] s6: switch to configure, enable nsss support --- srcpkgs/s6/template | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template index 247bead07e..070791a0a2 100644 --- a/srcpkgs/s6/template +++ b/srcpkgs/s6/template @@ -2,16 +2,23 @@ pkgname=s6 version=2.7.2.0 revision=1 -build_style=gnu-configure +build_style=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" +configure_args="--libdir=/usr/lib --bindir=/usr/bin + --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/" +changelog="https://skarnet.org/software/s6/upgrade.html" distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz" checksum=af54fcbae7028a90bd12c7ee71a8f3954a74c6a4de376a427cc664587fb68a09 +case "$XBPS_TARGET_MACHINE" in + *-musl) makedepends+=" nsss-devel" configure_args+=" --enable-nsss" ;; +esac + post_install() { vlicense COPYING vdoc README