gnu: libbpf: Use gexps.
* gnu/packages/linux.scm (libbpf) [arguments]: Use gexps. Change-Id: I5529cda3b316a24b48f4a33bfd685695614350bbmaster
parent
17a9ea9b01
commit
401086dbc7
|
@ -9833,31 +9833,27 @@ persistent over reboots.")
|
||||||
(base32
|
(base32
|
||||||
"1zzpkk4x3f20483dzw43b3ml03d63vvkmqf4j8y3b61b67wm59bm"))))
|
"1zzpkk4x3f20483dzw43b3ml03d63vvkmqf4j8y3b61b67wm59bm"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
|
||||||
(list pkg-config))
|
|
||||||
(propagated-inputs
|
|
||||||
;; In Requires.private of libbpf.pc.
|
|
||||||
(list elfutils zlib))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests
|
(list
|
||||||
#:make-flags
|
#:tests? #f ;self-tests run in QEMU
|
||||||
(list
|
#:make-flags
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
#~(list (string-append "PREFIX=" #$output)
|
||||||
(string-append "LIBDIR=$(PREFIX)/lib")
|
(string-append "LIBDIR=$(PREFIX)/lib")
|
||||||
(string-append "CC=" ,(cc-for-target)))
|
(string-append "CC=" #$(cc-for-target)))
|
||||||
#:phases
|
#:phases #~(modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
(delete 'configure)
|
||||||
(delete 'configure)
|
(add-before 'build 'pre-build
|
||||||
(add-before 'build 'pre-build
|
(lambda _
|
||||||
(lambda _
|
(chdir "src"))))))
|
||||||
(chdir "src"))))))
|
(native-inputs (list pkg-config))
|
||||||
|
(propagated-inputs (list elfutils zlib)) ;in Requires.private of libbpf.pc
|
||||||
(home-page "https://github.com/libbpf/libbpf")
|
(home-page "https://github.com/libbpf/libbpf")
|
||||||
(synopsis "BPF CO-RE (Compile Once – Run Everywhere)")
|
(synopsis "BPF CO-RE (Compile Once – Run Everywhere)")
|
||||||
(description
|
(description
|
||||||
"Libbpf supports building BPF CO-RE-enabled applications, which, in
|
"Libbpf supports building BPF CO-RE-enabled applications, which, in
|
||||||
contrast to BCC, do not require the Clang/LLVM runtime or linux kernel
|
contrast to BCC, do not require the Clang/LLVM runtime or linux kernel
|
||||||
headers.")
|
headers.")
|
||||||
(license `(,license:lgpl2.1 ,license:bsd-2))))
|
(license (list license:lgpl2.1 license:bsd-2))))
|
||||||
|
|
||||||
(define-public bcc
|
(define-public bcc
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue