package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
573 B
19 lines
573 B
package("awk") |
|
set_kind("binary") |
|
set_homepage("https://github.com/onetrueawk/awk") |
|
set_description("One true awk") |
|
|
|
add_urls("https://github.com/onetrueawk/awk.git") |
|
add_versions("2021.12.26", "b9c01f51224fd302519e8a35bd06effc06f6d3d1") |
|
|
|
add_deps("bison") |
|
|
|
on_install("macosx", "linux", function (package) |
|
local configs = {} |
|
import("package.tools.make").make(package, configs) |
|
os.cp("a.out", path.join(package:installdir("bin"), "awk")) |
|
end) |
|
|
|
on_test(function (package) |
|
os.vrun("awk --version") |
|
end)
|
|
|