xmake.lua 558 B

123456789101112131415161718
  1. package("ed")
  2. set_kind("binary")
  3. set_homepage("https://www.gnu.org/software/ed/ed.html")
  4. set_description("Classic UNIX line editor")
  5. set_license("GPL-3.0-or-later")
  6. set_urls("https://github.com/xmake-mirror/ed/archive/refs/tags/$(version).tar.gz")
  7. add_versions("1.17", "990129f9ebe21f0a1d880f2b71a33a3bf384eccae37c2dcd80419296f6bd02c6")
  8. on_install("linux", "macosx", function (package)
  9. import("package.tools.autoconf").install(package)
  10. end)
  11. on_test(function (package)
  12. os.vrun("ed --version")
  13. end)