27 lines
534 B
Python
27 lines
534 B
Python
from lib import cpp
|
|
from lib.make import *
|
|
|
|
|
|
version("2026.6.4")
|
|
description("QuickJS is a small and embeddable Javascript engine. It supports the ES2025 specification.")
|
|
maintainer("sisungo <[email protected]>")
|
|
source_url("https://bellard.org/quickjs/quickjs-2026-06-04.tar.xz")
|
|
|
|
builddep("shortcut/c")
|
|
|
|
|
|
def build():
|
|
cpp.make()
|
|
cpp.make_install()
|
|
|
|
on_build(build)
|
|
|
|
|
|
package("quickjs")
|
|
dep("semi-libc @same-arch")
|
|
cpp.use_auto_pack(["bin"])
|
|
|
|
package("libquickjs-dev")
|
|
dep("semi-libc @same-arch")
|
|
cpp.use_auto_pack(["dev"])
|