mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/linux-tools to 5.2-1
This commit is contained in:
parent
8d868de756
commit
22f607ed37
1 changed files with 18 additions and 4 deletions
|
@ -15,13 +15,14 @@ pkgname=(
|
|||
'libtraceevent'
|
||||
'linux-tools-meta'
|
||||
'perf'
|
||||
# 'python-perf'
|
||||
'tmon'
|
||||
'usbip'
|
||||
'gpio-utils'
|
||||
'iio-utils'
|
||||
)
|
||||
pkgver=5.1
|
||||
pkgrel=3
|
||||
pkgver=5.2
|
||||
pkgrel=1
|
||||
license=('GPL2')
|
||||
arch=('x86_64')
|
||||
url='https://www.kernel.org'
|
||||
|
@ -40,12 +41,13 @@ makedepends+=('glib2' 'sysfsutils' 'udev')
|
|||
makedepends+=('ncurses')
|
||||
groups=("$pkgbase")
|
||||
source=("https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${pkgver}.tar.xz"
|
||||
# 'https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-4.12.2.xz'
|
||||
"https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$pkgver.1.xz"
|
||||
'cpupower.default'
|
||||
'cpupower.systemd'
|
||||
'cpupower.service'
|
||||
'usbipd.service')
|
||||
md5sums=('7381ce8aac80a01448e065ce795c19c0'
|
||||
md5sums=('ddf994de00d7b18395886dd9b30b9262'
|
||||
'a45be902d46625f7b554f17bab3686f0'
|
||||
'56883c159381ba89e50ab8ea65efec77'
|
||||
'34f5ecc19770a1abbcd0fd65bfd1f065'
|
||||
'86c4e419e4ba80835c330d49ba3f56ad'
|
||||
|
@ -95,6 +97,8 @@ build() {
|
|||
|
||||
msg2 'usbip'
|
||||
pushd linux-$pkgver/tools/usb/usbip
|
||||
# Fix gcc compilation
|
||||
sed -i 's,-Wall -Werror -Wextra,,' configure.ac
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr --sbindir=/usr/bin
|
||||
make
|
||||
|
@ -145,6 +149,7 @@ package_linux-tools-meta() {
|
|||
'hyperv'
|
||||
'libtraceevent'
|
||||
'perf'
|
||||
# 'python-perf'
|
||||
'tmon'
|
||||
'usbip'
|
||||
)
|
||||
|
@ -190,6 +195,15 @@ package_perf() {
|
|||
find usr/share -type f -exec chmod a-x {} \;
|
||||
}
|
||||
|
||||
#package_python-perf(){
|
||||
# pkgdesc='Linux kernel performance auditing tool (python bindings)'
|
||||
# depends=('python')
|
||||
#
|
||||
# cd linux/tools/perf
|
||||
#
|
||||
# make install-python_ext PYTHON=python DESTDIR="$pkgdir"
|
||||
#}
|
||||
|
||||
package_cpupower() {
|
||||
pkgdesc='Linux kernel tool to examine and tune power saving related features of your processor'
|
||||
backup=('etc/default/cpupower')
|
||||
|
|
Loading…
Reference in a new issue