diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-01-26 12:22:16 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-01-26 12:22:16 -0200 |
commit | 072fcf33f41cce6ec27949da2a5f3d841a6d8cc8 (patch) | |
tree | 41445b7d6692fdfc24b5c6f10b0da9f6146636a8 | |
parent | 0258b92ad774dce06ed27aeb77e897d3b5bc626e (diff) | |
download | abslibre-072fcf33f41cce6ec27949da2a5f3d841a6d8cc8.tar.gz abslibre-072fcf33f41cce6ec27949da2a5f3d841a6d8cc8.tar.bz2 abslibre-072fcf33f41cce6ec27949da2a5f3d841a6d8cc8.zip |
linux-libre-tools-3.7-5: updating revision
* fix https://bugs.archlinux.org/task/33549
* put binutils on perf-libre's depends line
-rw-r--r-- | libre/linux-libre-tools/PKGBUILD | 7 | ||||
-rw-r--r-- | libre/linux-libre-tools/cpupower.install | 13 |
2 files changed, 17 insertions, 3 deletions
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: |