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.
22 lines
945 B
22 lines
945 B
package("util-macros") |
|
|
|
set_homepage("https://www.x.org/") |
|
set_description("X.Org: Set of autoconf macros used to build other xorg packages") |
|
|
|
set_urls("https://www.x.org/archive/individual/util/util-macros-$(version).tar.bz2") |
|
add_versions("1.19.2", "d7e43376ad220411499a79735020f9d145fdc159284867e99467e0d771f3e712") |
|
add_versions("1.19.3", "0f812e6e9d2786ba8f54b960ee563c0663ddbe2434bf24ff193f5feab1f31971") |
|
|
|
add_deps("pkg-config") |
|
|
|
on_install("macosx", "linux", function (package) |
|
local configs = {"--sysconfdir=" .. package:installdir("etc"), |
|
"--localstatedir=" .. package:installdir("var")} |
|
import("package.tools.autoconf").install(package, configs) |
|
end) |
|
|
|
on_test(function (package) |
|
local envs = {PKG_CONFIG_PATH = path.join(package:installdir(), "share", "pkgconfig")} |
|
os.vrunv("pkg-config", {"--exists", "xorg-macros"}, {envs = envs}) |
|
end) |
|
|
|
|