|
|
|
@ -3,17 +3,12 @@ package("mem") |
|
|
|
|
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") |
|
|
|
|
set_urls("https://github.com/0x1F9F1/mem.git") |
|
|
|
|
|
|
|
|
|
add_versions("0.1.0", "db0289a50da77101c4e827b92b39f06ba2e90f76") |
|
|
|
|
|
|
|
|
|
if is_plat("windows") then |
|
|
|
|
add_deps("cmake") |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
on_install("windows", function (package) |
|
|
|
|
local configs = {} |
|
|
|
|
import("package.tools.cmake").install(package, configs) |
|
|
|
|
os.cp("include/mem", package:installdir("include")) |
|
|
|
|
end) |
|
|
|
|
|
|
|
|
|
on_test(function (package) |
|
|
|
|