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.
20 lines
654 B
20 lines
654 B
4 years ago
|
package("libpthread-stubs")
|
||
|
|
||
|
set_homepage("https://www.x.org/")
|
||
|
set_description("X.Org: pthread-stubs.pc")
|
||
|
|
||
|
set_urls("https://xcb.freedesktop.org/dist/libpthread-stubs-$(version).tar.bz2")
|
||
|
add_versions("0.4", "e4d05911a3165d3b18321cc067fdd2f023f06436e391c6a28dff618a78d2e733")
|
||
|
|
||
|
add_deps("pkg-config")
|
||
|
|
||
|
on_install("macosx", "linux", function (package)
|
||
|
import("package.tools.autoconf").install(package)
|
||
|
end)
|
||
|
|
||
|
on_test(function (package)
|
||
|
local envs = {PKG_CONFIG_PATH = path.join(package:installdir(), "lib", "pkgconfig")}
|
||
|
os.vrunv("pkg-config", {"--exists", "pthread-stubs"}, {envs = envs})
|
||
|
end)
|
||
|
|