feat: add package nghttp2

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
2026-06-13 18:16:40 +08:00
parent a24cf0b528
commit 187e56dfef
3 changed files with 35 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import os
from lib import cpp
from lib.make import *
version("1.69.0")
source_url(
"https://github.com/nghttp2/nghttp2/releases/download/v1.69.0/nghttp2-1.69.0.tar.gz"
)
def build():
cpp.cmake()
cpp.ninja()
cpp.ninja_install()
os.chdir("usr")
on_build(build)
package("libnghttp2")
cpp.use_auto_pack(["lib"])
package("libnghttp2-dev")
cpp.use_auto_pack(["dev"])