23 lines
481 B
Python
23 lines
481 B
Python
from lib import rust
|
|
from lib.make import *
|
|
|
|
|
|
version("2.44.3")
|
|
description("A cross-platform, high-performance and asynchronous web server for static files-serving.")
|
|
maintainer("sisungo <[email protected]>")
|
|
source_managed("github://static-web-server/static-web-server#v2.44.3", "rust")
|
|
|
|
builddep("shortcut/rust")
|
|
|
|
|
|
def build():
|
|
rust.build()
|
|
|
|
on_build(build)
|
|
|
|
|
|
package("static-web-server")
|
|
dep("semi-libc @same-arch")
|
|
dep("libunwind @same-arch")
|
|
rust.use_auto_pack(["bin"])
|