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.
17 lines
658 B
17 lines
658 B
package("wyhash") |
|
set_kind("library", {headeronly = true}) |
|
set_homepage("https://github.com/wangyi-fudan/wyhash") |
|
set_description("The FASTEST QUALITY hash function, random number generators (PRNG) and hash map.") |
|
set_license("Unlicense") |
|
|
|
add_urls("https://github.com/wangyi-fudan/wyhash.git") |
|
add_versions("2023.04.10", "77e50f267fbc7b8e2d09f2d455219adb70ad4749") |
|
|
|
on_install(function (package) |
|
os.cp("old_versions", package:installdir("include")) |
|
os.cp("*.h", package:installdir("include")) |
|
end) |
|
|
|
on_test(function (package) |
|
assert(package:has_cfuncs("wyhash", {includes = "wyhash.h"})) |
|
end)
|
|
|