From 2be32975b65450c9d6d18bd75ad45a51d67cdc06 Mon Sep 17 00:00:00 2001 From: Uli Baum Date: Thu, 1 Jun 2023 23:40:36 +0200 Subject: [PATCH] New package: dinit-0.16.1 --- srcpkgs/dinit/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/dinit/template diff --git a/srcpkgs/dinit/template b/srcpkgs/dinit/template new file mode 100644 index 000000000000..78217a28037a --- /dev/null +++ b/srcpkgs/dinit/template @@ -0,0 +1,22 @@ +# Template file for 'dinit' +pkgname=dinit +version=0.16.1 +revision=1 +build_style=gnu-makefile +make_install_args="SBINDIR=/usr/bin" +make_check_target="check" +make_check_args="-j 1" # building checks fails when run in parallel +hostmakedepends="m4" +checkdepends="libsanitizer-devel" +short_desc="Service manager and init system" +maintainer="Uli Baum " +license="Apache-2.0" +homepage="https://davmac.org/projects/dinit/" +changelog="https://github.com/davmac314/dinit/NEWS" +distfiles="https://github.com/davmac314/dinit/archive/v${version}.tar.gz" +checksum=fecab916da569e7fda1ad7651eb2cc639885ac203f4729d55612108b69cd5140 + +post_extract() { + # don't build shutdown/halt/reboot commands, we don't use dinit as system init + sed -e 's/BUILD_SHUTDOWN=yes/BUILD_SHUTDOWN=no/' configs/mconfig.Linux > mconfig +}