Merge pull request 'feat: add package elfutils-libelf' (#39) from sisungo/ports:elfutils-libelf into main
Reviewed-on: #39
This commit was merged in pull request #39.
This commit is contained in:
commit
fe16277c83
1 file changed
+32
@@ -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"])
|
||||
Reference in new issue
Block a user