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

Reviewed-on: #21
This commit was merged in pull request #21.
This commit is contained in:
2026-06-12 13:15:54 +08:00
+25
View File
@@ -0,0 +1,25 @@
from lib import cpp
from lib.make import *
version("5.8.3")
source_url(
"https://github.com/tukaani-project/xz/releases/download/v5.8.3/xz-5.8.3.tar.gz"
)
def build():
cpp.configure(["--prefix=/"])
cpp.make()
cpp.make_install()
on_build(build)
package("liblzma")
cpp.use_auto_pack(["lib"])
package("xz")
cpp.use_auto_pack(["bin"])
package("liblzma-dev")
cpp.use_auto_pack(["dev"])