Compare commits

..
3 Commits
Author SHA1 Message Date
sisungo 0178b36988 feat: add package sed
Signed-off-by: sisungo <[email protected]>
2026-07-06 20:05:16 +08:00
sisungo f76006e595 Merge pull request 'feat: add package vim' (#92) from sisungo/semios-packages:vim into master
Reviewed-on: semios/semios-packages#92
2026-07-05 10:51:04 +08:00
sisungo fea89673ed feat: add package vim
Signed-off-by: sisungo <[email protected]>
2026-07-05 10:47:55 +08:00
2 changed files with 13 additions and 28 deletions
-23
View File
@@ -1,23 +0,0 @@
from lib import cpp
from lib.make import *
version("2.6.4")
source_url("https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz")
def build():
cpp.configure(
[
f"--prefix={get_prefix('flex')}",
"--disable-nls",
]
)
cpp.make()
cpp.make_install()
on_build(build)
package("flex")
dep("semi-libc @same-arch")
cpp.use_auto_pack(["bin", "lib", "dev"])
+13 -5
View File
@@ -1,16 +1,24 @@
from lib import rust
import subprocess
from lib.make import *
version("0.1.1")
source_url("https://github.com/uutils/sed/releases/download/0.1.1/source.tar.gz")
version("15.1.1")
source_url("https://gitea.semilabs.org/semios/sed/archive/v15.1.1.tar.gz")
def build():
rust.build()
subprocess.run(["./build.sh"])
on_build(build)
def pack_sed(composer):
composer.makedir("bin")
composer.addfile("sed", "bin/sed")
package("sed")
dep("semi-libc @same-arch")
rust.use_auto_pack(["bin"])
dep("libpcre2 @same-arch")
on_pack(pack_sed)