feat: add package elfutils-libelf #39

Merged
sisungo merged 1 commits from sisungo/ports:elfutils-libelf into main 2026-11-09 11:26:34 +00:00
+32
View File
@@ -0,0 +1,32 @@
from lib.make import *
from lib import cpp
version("0.193")
description("libelf library extracted from elfutils")
maintainer("sisungo <[email protected]>")
source_managed("github://arachsys/libelf#v0.193")
builddep("shortcut/c")
builddep("shortcut/autotools")
builddep("libz-dev @target")
builddep("libzstd-dev @target")
def build():
cpp.make()
cpp.make_install()
on_build(build)
package("libgelf")
provide("libelf")
dep("semi-libc @same-arch")
cpp.use_auto_pack(["lib"])
package("libgelf-dev")
provide("libelf-dev")
dep("libgelf (same)")
dep("semi-libc-dev @same-arch")
cpp.use_auto_pack(["dev"])