forked from semios/semios-packages
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0178b36988 |
@@ -1,16 +1,24 @@
|
|||||||
from lib import rust
|
import subprocess
|
||||||
|
|
||||||
from lib.make import *
|
from lib.make import *
|
||||||
|
|
||||||
version("0.1.1")
|
version("15.1.1")
|
||||||
source_url("https://github.com/uutils/sed/releases/download/0.1.1/source.tar.gz")
|
source_url("https://gitea.semilabs.org/semios/sed/archive/v15.1.1.tar.gz")
|
||||||
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
rust.build()
|
subprocess.run(["./build.sh"])
|
||||||
|
|
||||||
|
|
||||||
on_build(build)
|
on_build(build)
|
||||||
|
|
||||||
|
|
||||||
|
def pack_sed(composer):
|
||||||
|
composer.makedir("bin")
|
||||||
|
composer.addfile("sed", "bin/sed")
|
||||||
|
|
||||||
|
|
||||||
package("sed")
|
package("sed")
|
||||||
dep("semi-libc @same-arch")
|
dep("semi-libc @same-arch")
|
||||||
rust.use_auto_pack(["bin"])
|
dep("libpcre2 @same-arch")
|
||||||
|
on_pack(pack_sed)
|
||||||
|
|||||||
Reference in New Issue
Block a user