From 072fcf33f41cce6ec27949da2a5f3d841a6d8cc8 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 26 Jan 2013 12:22:16 -0200 Subject: linux-libre-tools-3.7-5: updating revision * fix https://bugs.archlinux.org/task/33549 * put binutils on perf-libre's depends line --- libre/linux-libre-tools/PKGBUILD | 7 ++++--- libre/linux-libre-tools/cpupower.install | 13 +++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 libre/linux-libre-tools/cpupower.install (limited to 'libre/linux-libre-tools') diff --git a/libre/linux-libre-tools/PKGBUILD b/libre/linux-libre-tools/PKGBUILD index fbb6ab1fc..d3c01f28c 100644 --- a/libre/linux-libre-tools/PKGBUILD +++ b/libre/linux-libre-tools/PKGBUILD @@ -8,7 +8,7 @@ _basekernel=3.7 #_sublevel=1 #pkgver=${_basekernel}.${_sublevel} pkgver=${_basekernel} -pkgrel=4 +pkgrel=5 license=('GPL2') arch=('i686' 'x86_64' 'mips64el') url='http://linux-libre.fsfla.org/' @@ -17,7 +17,7 @@ options=('!strip') # kernel source deps makedepends=('asciidoc' 'xmlto') # perf-libre deps -makedepends+=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind' 'binutils') +makedepends+=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind') # cpupower-libre deps makedepends+=('pciutils') # usbip-libre deps @@ -95,7 +95,7 @@ package_libtraceevent-libre() { package_perf-libre() { pkgdesc='Linux kernel performance auditing tool' - depends=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind') + depends=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind' 'binutils') replaces=('perf') conflicts=('perf') provides=("perf=$pkgver") @@ -118,6 +118,7 @@ package_cpupower-libre() { replaces=('cpupower' 'cpufrequtils') conflicts=('cpupower' 'cpufrequtils') provides=("cpupower=$pkgver") + install=cpupower.install pushd linux-$pkgver/tools/power/cpupower make \ diff --git a/libre/linux-libre-tools/cpupower.install b/libre/linux-libre-tools/cpupower.install new file mode 100644 index 000000000..10e07ae52 --- /dev/null +++ b/libre/linux-libre-tools/cpupower.install @@ -0,0 +1,13 @@ +#!/bin/sh + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + if [ "$(vercmp $2 3.7-4)" -le 0 ]; then + cat << EOF +===> cpupower startup config file moved to /etc/default/cpupower +EOF + fi +} + +# vim:set ts=2 sw=2 ft=sh et: -- cgit v1.2.3