blob: f8ea4005e280be9ccfec6ff4cdb255fc3016c77d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Logs process fork(), exec() and exit() activity"
HOMEPAGE="https://github.com/ColinIanKing/forkstat"
SRC_URI="https://github.com/ColinIanKing/forkstat/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
PATCHES=( "${FILESDIR}/musl-prio.patch" )
src_prepare() {
default
sed -i 's/8.gz/8/g' Makefile
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="$CFLAGS -DVERSION='\"${PV}\"'"
}
|