summaryrefslogtreecommitdiff
path: root/repo/system/pahole.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-10 11:59:16 +0000
committerdavidovski <david@davidovski.xyz>2022-03-10 11:59:16 +0000
commitbb499959d88da1b3937c23b5405089c907188a81 (patch)
treed9ddba6d0c8f1152c3919067a52250c6bf0759f9 /repo/system/pahole.xibuild
parent3602ce227f784f1c6233ef6ad3cd8f5ccad28e66 (diff)
added and patched broken packages
Diffstat (limited to 'repo/system/pahole.xibuild')
-rw-r--r--repo/system/pahole.xibuild18
1 files changed, 7 insertions, 11 deletions
diff --git a/repo/system/pahole.xibuild b/repo/system/pahole.xibuild
index e9b4f99..6b57291 100644
--- a/repo/system/pahole.xibuild
+++ b/repo/system/pahole.xibuild
@@ -1,26 +1,22 @@
#!/bin/sh
-MAKEDEPS="cmake python make "
-DEPS="libelf python"
+MAKEDEPS="cmake-modules python make "
+DEPS="libelf python elfutils libdwarf musl-obstack argp-standalone libbpf"
-PKG_VER=1.23
+PKG_VER=1.22
SOURCE=https://git.kernel.org/pub/scm/devel/pahole/pahole.git
BRANCH=v$PKG_VER
DESC="Pahole and other DWARF Utils"
build () {
- cmake -S . -B build \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=None \
- -D__LIB=lib
+ cmake -B build -G Ninja . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
+ -D__LIB=lib
cmake --build build
}
package () {
DESTDIR="$PKG_DEST" cmake --install build
-
-
- python -m compileall -d / "$PKG_DEST"
- python -O -m compileall -d / "$PKG_DEST"
}