Merge pull request 'feat: add package libarchive' (#12) from sisungo/semios-packages:libarchive into master

Reviewed-on: #12
This commit was merged in pull request #12.
This commit is contained in:
2026-06-11 13:47:10 +08:00
+25
View File
@@ -0,0 +1,25 @@
import lib.cpp as cpp
from lib.make import *
version("3.8.7")
source_url(
"https://github.com/libarchive/libarchive/releases/download/v3.8.7/libarchive-3.8.7.tar.gz"
)
def build():
cpp.configure(["--prefix=/"])
cpp.make()
cpp.make_install()
on_build(build)
package("libarchive")
cpp.use_auto_pack(["lib"])
package("libarchive-bin")
cpp.use_auto_pack(["bin"])
package("libarchive-dev")
cpp.use_auto_pack(["dev"])