xmake.lua 636 B

123456789101112131415161718
  1. package("itstool")
  2. set_kind("binary")
  3. set_homepage("http://itstool.org/")
  4. set_description("ITS Tool allows you to translate your XML documents with PO files")
  5. set_license("GPL-3.0")
  6. add_urls("http://files.itstool.org/itstool/itstool-$(version).tar.bz2")
  7. add_versions("2.0.7", "6b9a7cd29a12bb95598f5750e8763cee78836a1a207f85b74d8b3275b27e87ca")
  8. add_deps("libxml2", {configs = {iconv = true, python = true}})
  9. on_install("macosx", "linux", function (package)
  10. import("package.tools.autoconf").install(package)
  11. end)
  12. on_test(function (package)
  13. os.vrun("itstool --version")
  14. end)