community/linux-tools to 4.19-1

This commit is contained in:
Kevin Mihelich 2018-10-26 12:23:53 +00:00
parent 208e21843a
commit 0837e809c3

View file

@ -1,4 +1,3 @@
# $Id$
# Maintainer: Sébastien Luttringer
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
@ -20,7 +19,7 @@ pkgname=(
'gpio-utils'
'iio-utils'
)
pkgver=4.18
pkgver=4.19
pkgrel=1
license=('GPL2')
arch=('x86_64')
@ -31,7 +30,7 @@ makedepends=('git')
# kernel source deps
makedepends+=('asciidoc' 'xmlto')
# perf deps
makedepends+=('perl' 'python2' 'slang' 'elfutils' 'libunwind' 'audit' 'gtk2')
makedepends+=('perl' 'python' 'slang' 'elfutils' 'libunwind' 'audit' 'gtk2')
# cpupower deps
makedepends+=('pciutils')
# usbip deps
@ -81,8 +80,8 @@ build() {
lib=lib/perf \
perfexecdir=lib/perf \
NO_SDT=1 \
PYTHON=python2 \
PYTHON_CONFIG=python2-config \
PYTHON=python \
PYTHON_CONFIG=python-config \
PERF_VERSION=$pkgver-$pkgrel \
DESTDIR="$pkgdir" \
all man
@ -154,8 +153,8 @@ package_libtraceevent() {
package_perf() {
pkgdesc='Linux kernel performance auditing tool'
depends=('perl' 'python2' 'slang' 'elfutils' 'libunwind' 'binutils'
'audit')
depends=('glibc' 'perl' 'python' 'slang' 'elfutils' 'libunwind' 'binutils'
'audit' 'coreutils' 'glib2' 'xz' 'zlib' 'libelf' 'bash')
optdepends=('gtk2: support GTK2 browser for perf report')
cd linux-$pkgver/tools/perf
@ -164,8 +163,8 @@ package_perf() {
lib=lib/perf \
perfexecdir=lib/perf \
NO_SDT=1 \
PYTHON=python2 \
PYTHON_CONFIG=python2-config \
PYTHON=python \
PYTHON_CONFIG=python-config \
PERF_VERSION=$pkgver-$pkgrel \
DESTDIR="$pkgdir" \
install install-man
@ -183,7 +182,7 @@ package_perf() {
package_cpupower() {
pkgdesc='Linux kernel tool to examine and tune power saving related features of your processor'
backup=('etc/default/cpupower')
depends=('bash' 'pciutils')
depends=('glibc' 'bash' 'pciutils')
conflicts=('cpufrequtils')
replaces=('cpufrequtils')
install=cpupower.install
@ -205,7 +204,7 @@ package_cpupower() {
package_usbip() {
pkgdesc='An USB device sharing system over IP network'
depends=('glib2' 'sysfsutils' 'libsystemd')
depends=('glibc' 'glib2' 'sysfsutils' 'libsystemd')
pushd linux-$pkgver/tools/usb/usbip
make install DESTDIR="$pkgdir"