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.

18 lines
759 B

package("linux-syscall-support")
set_homepage("https://chromium.googlesource.com/linux-syscall-support")
set_description("Linux Syscall Support provides a header file that can be included into your application whenever you need to make direct system calls.")
set_license("BSD-3-Clause")
add_urls("https://chromium.googlesource.com/linux-syscall-support.git")
add_versions("v2022.10.12", "9719c1e1e676814c456b55f5f070eabad6709d31")
set_kind("library", {headeronly = true})
on_install("linux", function (package)
os.cp("linux_syscall_support.h", package:installdir("include/lss"))
end)
on_test(function (package)
assert(package:has_cfuncs("sys_open", {includes = "lss/linux_syscall_support.h"}))
end)