void-packages/srcpkgs/bootchart2/template

22 lines
709 B
Bash

# Template file for 'bootchart2'
pkgname=bootchart2
version=0.14.9
revision=4
build_style=gnu-makefile
make_install_args="EARLY_PREFIX=/usr DOCDIR=/usr/share/doc/bootchart2"
hostmakedepends="python3-setuptools"
makedepends="python3"
depends="python3-cairo"
short_desc="Startup graphing tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/xrmx/bootchart"
distfiles="https://github.com/xrmx/bootchart/archive/${version}.tar.gz"
checksum=cec7871c3dba47a1165873b0acde30a82221fde1d3a942da5e7dd09b513d2017
make_dirs="/usr/lib/bootchart/tmpfs 0755 root root"
conflicts="bootchart>=0"
post_patch() {
vsed -i -e 's,\$(EARLY_PREFIX)/sbin/,/usr/bin/,' Makefile
}