Update xmake.lua (#470)

* Update xmake.lua

* add tar and fix sha256

* mark as headeronly

Co-authored-by: ruki <waruqi@gmail.com>
pull/471/head
yamashi 4 years ago committed by GitHub
parent 6d6113cf39
commit 6417275dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      packages/m/mem/xmake.lua

@ -1,11 +1,13 @@
package("mem")
set_kind("library", {headeronly = true})
set_homepage("https://github.com/0x1F9F1/mem")
set_description("A collection of C++11 headers useful for reverse engineering")
set_urls("https://github.com/0x1F9F1/mem.git")
add_urls("https://github.com/0x1F9F1/mem/archive/refs/tags/$(version).tar.gz",
"https://github.com/0x1F9F1/mem.git")
add_versions("0.1.0", "db0289a50da77101c4e827b92b39f06ba2e90f76")
add_versions("1.0.0", "db1e58b040ea39ec5794fc1dcc6749c81b062579d9f6b086d035266456bccaf3")
on_install("windows", function (package)
os.cp("include/mem", package:installdir("include"))

Loading…
Cancel
Save