33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'trace-cmd'
|
|
pkgname=trace-cmd
|
|
version=2.6.1
|
|
revision=1
|
|
wrksrc="${pkgname}-v${version}"
|
|
build_style=gnu-makefile
|
|
make_build_args="all gui doc"
|
|
make_install_args="prefix=/usr install install_gui install_doc"
|
|
hostmakedepends="git asciidoc pkg-config"
|
|
makedepends="gtk+-devel libxml2-devel"
|
|
short_desc="Tools to use Ftrace Linux kernel internal tracer"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2, LGPL-2.1"
|
|
homepage="http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git/"
|
|
distfiles="http://git.kernel.org/cgit/linux/kernel/git/rostedt/${pkgname}.git/snapshot/${pkgname}-v${version}.tar.gz"
|
|
checksum=4eb79001778a77c0ada10265e7f4b5515a3e21a46f0a15c2e8cc614efdf3f5df
|
|
|
|
post_extract() {
|
|
sed -i '1i#include <limits.h>' trace-listen.c
|
|
}
|
|
|
|
kernelshark_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc="GUI for Ftrace Linux kernel internal tracer"
|
|
pkg_install() {
|
|
vmove usr/bin/kernelshark
|
|
vmove usr/bin/trace-graph
|
|
vmove usr/bin/trace-view
|
|
vmove usr/share/man/man1/kernelshark.1
|
|
vmove usr/share/kernelshark/html
|
|
}
|
|
}
|