pahole: update to 1.19.
This commit is contained in:
parent
fa1aca30c6
commit
d7e3e6f981
1 changed files with 4 additions and 11 deletions
|
@ -1,8 +1,8 @@
|
|||
# Template file for 'pahole'
|
||||
pkgname=pahole
|
||||
version=1.18
|
||||
version=1.19
|
||||
revision=1
|
||||
_bpfver=0.1.1
|
||||
wrksrc="dwarves-${version}"
|
||||
build_style=cmake
|
||||
configure_args="-D__LIB=lib"
|
||||
makedepends="elfutils-devel zlib-devel"
|
||||
|
@ -10,20 +10,13 @@ short_desc="Various DWARF utils"
|
|||
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="http://git.kernel.org/?p=devel/pahole/pahole.git;a=summary"
|
||||
distfiles="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-${version}.tar.gz
|
||||
https://github.com/libbpf/libbpf/archive/v${_bpfver}.tar.gz"
|
||||
checksum="bb436a4b5e856c8963b1ea52260da064dc985f6e3832b29adec094422365a5a7
|
||||
3fd271cf65b39bf38432b29d9dd2f694600c97dab0928baee419a65b5db4e598"
|
||||
distfiles="https://fedorapeople.org/~acme/dwarves/dwarves-${version}.tar.xz"
|
||||
checksum=9af54663f2bab10d1ea85f97801c8fa045ff62e9b39d4ec6a8541354cb7b6ef3
|
||||
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
*-musl) makedepends+=" musl-obstack-devel argp-standalone"
|
||||
esac
|
||||
|
||||
pre_patch() {
|
||||
rm -rf lib/bpf
|
||||
mv "../libbpf-${_bpfver}/" "lib/bpf"
|
||||
}
|
||||
|
||||
pre_configure() {
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
*-musl) sed -i CMakeLists.txt -e "/^target_link_libraries/s/)/ obstack argp)/"
|
||||
|
|
Loading…
Reference in a new issue