From 5a63e50257c92efd6f6da8052e40ebd4614930b7 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 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/dinit/template diff --git a/srcpkgs/dinit/template b/srcpkgs/dinit/template new file mode 100644 index 000000000000..27fbc82b3e9f --- /dev/null +++ b/srcpkgs/dinit/template @@ -0,0 +1,21 @@ +# Template file for 'dinit' +pkgname=dinit +version=0.16.1 +revision=1 +build_style=gnu-makefile +make_install_args="SBINDIR=/usr/bin" +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://raw.githubusercontent.com/davmac314/dinit/master/NEWS" +distfiles="https://github.com/davmac314/dinit/archive/v${version}.tar.gz" +checksum=fecab916da569e7fda1ad7651eb2cc639885ac203f4729d55612108b69cd5140 +disable_parallel_check=yes + +post_patch() { + # 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 +}