Files
ports/packages/elfutils-libelf/pkgbuild.py
T
2026-11-05 08:27:19 +00:00

33 lines
616 B
Python

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"])