mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-13 21:47:44 +00:00
36 lines
723 B
Bash
36 lines
723 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="killproc and assorted tools for boot scripts"
|
|
HOMEPAGE="https://ftp.suse.com/pub/projects/init/"
|
|
SRC_URI="https://ftp.suse.com/pub/projects/init/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${P}-makefile.patch"
|
|
"${FILESDIR}/${P}-argz.patch"
|
|
"${FILESDIR}/${P}-fix_c23.patch"
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
tc-export CC
|
|
export COPTS="${CFLAGS}"
|
|
}
|
|
|
|
src_install() {
|
|
into /
|
|
dosbin checkproc fsync killproc startproc usleep
|
|
|
|
into /usr
|
|
doman *.8 *.1
|
|
dodoc README *.lsm
|
|
}
|