forked from semios/semios-packages
29 lines
429 B
Python
29 lines
429 B
Python
import os
|
|
|
|
from lib import cpp
|
|
from lib.make import *
|
|
|
|
version("2026.4.26")
|
|
source_url("https://github.com/onetrueawk/awk/archive/refs/tags/20260426.tar.gz")
|
|
|
|
builddep("shortcut/c")
|
|
builddep("shortcut/autotools")
|
|
builddep("bison")
|
|
|
|
|
|
def build():
|
|
cpp.make()
|
|
|
|
|
|
on_build(build)
|
|
|
|
|
|
def pack(composer):
|
|
composer.makedir("bin")
|
|
composer.addfile("a.out", "bin/awk")
|
|
|
|
|
|
package("awk")
|
|
dep("semi-libc @same-arch")
|
|
on_pack(pack)
|