mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
parent
4df678a841
commit
fbd37c59ee
1 changed files with 5 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'linux-tools'
|
# Template file for 'linux-tools'
|
||||||
pkgname=linux-tools
|
pkgname=linux-tools
|
||||||
version=4.1
|
version=4.1
|
||||||
revision=4
|
revision=5
|
||||||
build_style=meta
|
build_style=meta
|
||||||
wrksrc="linux-${version}"
|
wrksrc="linux-${version}"
|
||||||
short_desc="Linux kernel tools meta-pkg"
|
short_desc="Linux kernel tools meta-pkg"
|
||||||
|
@ -34,8 +34,7 @@ post_extract() {
|
||||||
do_build() {
|
do_build() {
|
||||||
cd ${wrksrc}/tools/perf
|
cd ${wrksrc}/tools/perf
|
||||||
make ${makejobs} CC=$CC LD=$LD CFLAGS="$CFLAGS" EXTRA_CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
make ${makejobs} CC=$CC LD=$LD CFLAGS="$CFLAGS" EXTRA_CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
||||||
WERROR=0 DESTDIR=${DESTDIR}/usr \
|
WERROR=0 DESTDIR=${DESTDIR} prefix=/usr lib=lib/perf \
|
||||||
perfexecdir='lib/perf' \
|
|
||||||
NO_GTK2=1 \
|
NO_GTK2=1 \
|
||||||
PERF_VERSION=${version}_${revision} \
|
PERF_VERSION=${version}_${revision} \
|
||||||
all man
|
all man
|
||||||
|
@ -75,14 +74,13 @@ do_install() {
|
||||||
# perf
|
# perf
|
||||||
cd ${wrksrc}/tools/perf
|
cd ${wrksrc}/tools/perf
|
||||||
make CC=$CC LD=$LD CFLAGS="$CFLAGS" EXTRA_CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
make CC=$CC LD=$LD CFLAGS="$CFLAGS" EXTRA_CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
||||||
WERROR=0 DESTDIR=${DESTDIR}/usr \
|
WERROR=0 DESTDIR=${DESTDIR} prefix=/usr lib=lib/perf \
|
||||||
perfexecdir='lib/perf' \
|
|
||||||
NO_GTK2=1 \
|
NO_GTK2=1 \
|
||||||
PERF_VERSION=${version}_${revision} \
|
PERF_VERSION=${version}_${revision} \
|
||||||
install install-man
|
install install-man
|
||||||
# move completion in new directory
|
# move completion in new directory
|
||||||
vmkdir usr/share/bash-completion/completions
|
vmkdir usr/share/bash-completion/completions
|
||||||
mv ${DESTDIR}/usr/etc/bash_completion.d/perf \
|
mv ${DESTDIR}/etc/bash_completion.d/perf \
|
||||||
${DESTDIR}/usr/share/bash-completion/completions
|
${DESTDIR}/usr/share/bash-completion/completions
|
||||||
|
|
||||||
# usbip
|
# usbip
|
||||||
|
@ -142,7 +140,7 @@ perf_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/perf
|
vmove usr/bin/perf
|
||||||
vmove usr/bin/trace
|
vmove usr/bin/trace
|
||||||
vmove usr/lib/traceevent
|
vmove usr/lib/perf/traceevent
|
||||||
vmove usr/libexec/perf-core
|
vmove usr/libexec/perf-core
|
||||||
vmove usr/share/bash-completion
|
vmove usr/share/bash-completion
|
||||||
vmove "usr/share/man/man1/perf*"
|
vmove "usr/share/man/man1/perf*"
|
||||||
|
|
Loading…
Add table
Reference in a new issue