mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/linux-tools to 3.17-1
This commit is contained in:
parent
6d237982ae
commit
6f1c20b54f
1 changed files with 13 additions and 11 deletions
|
@ -16,7 +16,7 @@ pkgname=(
|
|||
'tmon'
|
||||
'usbip'
|
||||
)
|
||||
pkgver=3.16
|
||||
pkgver=3.17
|
||||
pkgrel=1
|
||||
license=('GPL2')
|
||||
arch=('i686' 'x86_64')
|
||||
|
@ -26,7 +26,7 @@ options=('!strip')
|
|||
# kernel source deps
|
||||
makedepends=('asciidoc' 'xmlto')
|
||||
# perf deps
|
||||
makedepends+=('perl' 'python2' 'libnewt' 'elfutils' 'libunwind')
|
||||
makedepends+=('perl' 'python2' 'libnewt' 'elfutils' 'libunwind' 'audit')
|
||||
# cpupower deps
|
||||
makedepends+=('pciutils')
|
||||
# usbip deps
|
||||
|
@ -42,9 +42,10 @@ source=("http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$pkgver.tar.xz"
|
|||
'usbipd.service'
|
||||
'01-fix-perf-python.patch'
|
||||
'02-archlinux-paths.patch'
|
||||
'03-fix-tmon-ltinfo.patch')
|
||||
'03-fix-tmon-ltinfo.patch'
|
||||
'04-fix-usip-h-path.patch')
|
||||
# http://www.kernel.org/pub/linux/kernel/v3.x/sha256sums.asc
|
||||
sha256sums=('4813ad7927a7d92e5339a873ab16201b242b2748934f12cb5df9ba2cfe1d77a0'
|
||||
sha256sums=('f5153ec93c5fcd41b247950e6a9bcbc63fa87beafd112c133a622439a0f76251'
|
||||
'6d54f1dcd4d9441644a7ef4445f6633158e666fddaa6f06bb6656ab2ff4509d4'
|
||||
'4fa509949d6863d001075fa3e8671eff2599c046d20c98bb4a70778595cd1c3f'
|
||||
'fbf6e0ce6eb0ef15703fe212958de6ca46e62188900b5e9f9272ed3cc9cfd54e'
|
||||
|
@ -52,7 +53,8 @@ sha256sums=('4813ad7927a7d92e5339a873ab16201b242b2748934f12cb5df9ba2cfe1d77a0'
|
|||
'2e187734d8aec58a3046d79883510d779aa93fb3ab20bd3132c1a607ebe5498f'
|
||||
'fce128f5e0abfa6916d5cb881456d892d1b163b9639166a4c6c1d53e4dc5086a'
|
||||
'eb866a589a26b1979ffb2fe08be09417e277a4befac34bdb279a6bb3a27b0570'
|
||||
'7547815bb761d49d198b85f95011535713c2ed4a004f249a9cf6ba985af8c4ed')
|
||||
'7547815bb761d49d198b85f95011535713c2ed4a004f249a9cf6ba985af8c4ed'
|
||||
'e5543d8d6d3fbc7f8d9d25c428a882737d2e0169455f70cbc3f73076ff33dd5d')
|
||||
|
||||
prepare() {
|
||||
cd linux-$pkgver
|
||||
|
@ -60,6 +62,7 @@ prepare() {
|
|||
patch -N -p1 -i "$srcdir/01-fix-perf-python.patch"
|
||||
patch -N -p1 -i "$srcdir/02-archlinux-paths.patch"
|
||||
patch -N -p1 -i "$srcdir/03-fix-tmon-ltinfo.patch"
|
||||
patch -N -p1 -i "$srcdir/04-fix-usip-h-path.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -89,9 +92,7 @@ build() {
|
|||
popd
|
||||
|
||||
msg2 'usbip'
|
||||
pushd linux-$pkgver/drivers/staging/usbip/userspace
|
||||
# fix missing man page
|
||||
sed -i 's/usbip_bind_driver.8//' Makefile.am
|
||||
pushd linux-$pkgver/tools/usb/usbip
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr --sbindir=/usr/bin
|
||||
make
|
||||
|
@ -134,12 +135,13 @@ package_libtraceevent() {
|
|||
|
||||
cd linux-$pkgver/tools/lib/traceevent
|
||||
install -dm 755 "$pkgdir/usr/lib"
|
||||
install -m 644 libtraceevent.a libtraceevent.so "$pkgdir/usr/lib"
|
||||
install -m 644 libtraceevent.so "$pkgdir/usr/lib"
|
||||
}
|
||||
|
||||
package_perf() {
|
||||
pkgdesc='Linux kernel performance auditing tool'
|
||||
depends=('perl' 'python2' 'libnewt' 'elfutils' 'libunwind' 'binutils')
|
||||
depends=('perl' 'python2' 'libnewt' 'elfutils' 'libunwind' 'binutils'
|
||||
'audit')
|
||||
|
||||
cd linux-$pkgver/tools/perf
|
||||
make \
|
||||
|
@ -183,7 +185,7 @@ package_usbip() {
|
|||
pkgdesc='An USB device sharing system over IP network'
|
||||
depends=('glib2' 'sysfsutils' 'libsystemd')
|
||||
|
||||
pushd linux-$pkgver/drivers/staging/usbip/userspace
|
||||
pushd linux-$pkgver/tools/usb/usbip
|
||||
make install DESTDIR="$pkgdir"
|
||||
popd
|
||||
# module loading
|
||||
|
|
Loading…
Reference in a new issue