linux-tools: move trace files to the perf pkg (which contains trace), fix x86_64 install.

This commit is contained in:
Juan RP 2014-04-01 09:53:33 +02:00
parent fda709060b
commit fb03140349

View file

@ -1,7 +1,7 @@
# Template file for 'linux-tools'
pkgname=linux-tools
version=3.14
revision=1
revision=2
wrksrc="linux-${version}"
short_desc="Linux kernel tools meta-pkg"
hostmakedepends="flex perl asciidoc xmlto python automake libtool"
@ -75,6 +75,10 @@ do_install() {
cd ${wrksrc}/tools/power/x86/x86_energy_perf_policy
vinstall x86_energy_perf_policy 755 usr/bin
vinstall x86_energy_perf_policy.8 644 usr/share/man/man8
if [ -d ${DESTDIR}/usr/lib64 ]; then
mv ${DESTDIR}/usr/lib64/* ${DESTDIR}/usr/lib/
fi
}
cpupower_package() {
@ -127,6 +131,7 @@ perf_package() {
pkg_install() {
vmove usr/bin/perf
vmove usr/bin/trace
vmove usr/lib/traceevent
vmove usr/libexec/perf-core
vmove usr/share/bash-completion
vmove "usr/share/man/man1/perf*"