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.
21 lines
915 B
21 lines
915 B
package("libxcursor") |
|
|
|
set_homepage("https://www.x.org/") |
|
set_description("X.Org: X Window System Cursor management library") |
|
|
|
set_urls("https://www.x.org/archive/individual/lib/libXcursor-$(version).tar.bz2") |
|
add_versions("1.2.0", "3ad3e9f8251094af6fe8cb4afcf63e28df504d46bfa5a5529db74a505d628782") |
|
|
|
add_deps("pkg-config", "util-macros", "libx11", "libxfixes", "libxrender") |
|
|
|
on_install("macosx", "linux", function (package) |
|
local configs = {"--sysconfdir=" .. package:installdir("etc"), |
|
"--localstatedir=" .. package:installdir("var"), |
|
"--disable-dependency-tracking", |
|
"--disable-silent-rules"} |
|
import("package.tools.autoconf").install(package, configs) |
|
end) |
|
|
|
on_test(function (package) |
|
assert(package:has_ctypes("XcursorFileHeader", {includes = "X11/Xcursor/Xcursor.h"})) |
|
end)
|
|
|