New package: trace-cmd-2.4

This commit is contained in:
Christian Neukirchen 2015-01-04 18:29:25 +01:00
parent 5f040f506d
commit 1209eb5731
2 changed files with 31 additions and 0 deletions

1
srcpkgs/kernelshark Symbolic link
View File

@ -0,0 +1 @@
trace-cmd

View File

@ -0,0 +1,30 @@
# Template file for 'trace-cmd'
pkgname=trace-cmd
version=2.4
revision=1
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="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git/"
update_pattern='trace-cmd-v\K[\d.]+'
do_fetch() {
git clone -b ${pkgname}-v${version} git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git ${pkgname}-${version}
}
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
}
}