]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
libbpf: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 15 Sep 2023 15:09:09 +0000 (15:09 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 15 Sep 2023 15:09:09 +0000 (15:09 +0000)
This is required by Pakfire.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
libbpf/libbpf.nm [new file with mode: 0644]

diff --git a/libbpf/libbpf.nm b/libbpf/libbpf.nm
new file mode 100644 (file)
index 0000000..321aa0c
--- /dev/null
@@ -0,0 +1,40 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = libbpf
+version    = 1.2.2
+release    = 1
+
+groups     = System/Libraries
+url        = https://github.com/libbpf/libbpf/
+license    = LGPLv2.1
+summary    = eBPF helper library
+
+description
+       eBPF helper library
+end
+
+source_dl  = https://github.com/libbpf/libbpf/archive/refs/tags/v%{version}.tar.gz#/
+
+build
+       requires
+               elfutils-devel
+               zlib-devel
+       end
+
+       DIR_BUILD = %{DIR_APP}/src
+end
+
+packages
+       package %{name}
+
+       package %{name}-devel
+               template DEVEL
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end