forked from semios/ports
@@ -0,0 +1,30 @@
|
||||
import subprocess
|
||||
|
||||
from lib.make import *
|
||||
|
||||
version("15.1.1")
|
||||
description("SemiOS fork of the UNIX sed utility")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://gitea.semilabs.org/semios/sed/archive/v15.1.1.tar.gz")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep(f"libpcre2-dev @{arch.get_target()}")
|
||||
builddep("pcre2-tools")
|
||||
|
||||
|
||||
def 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")
|
||||
dep("libpcre2 @same-arch")
|
||||
on_pack(pack_sed)
|
||||
Reference in New Issue
Block a user