33 lines
616 B
Python
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"])
|