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.
24 lines
738 B
24 lines
738 B
3 years ago
|
package("libxaw")
|
||
|
|
||
|
set_homepage("https://gitlab.freedesktop.org/xorg/lib/libxaw")
|
||
|
set_description("X.Org: X Athena Widget Set")
|
||
|
|
||
|
set_urls("https://www.x.org/archive/individual/lib/libXaw-$(version).tar.bz2")
|
||
|
add_versions("1.0.14", "76aef98ea3df92615faec28004b5ce4e5c6855e716fa16de40c32030722a6f8e")
|
||
|
|
||
|
if is_plat("macosx", "linux") then
|
||
|
add_deps("libxmu", "libxpm")
|
||
|
end
|
||
|
|
||
|
if is_plat("linux") then
|
||
|
add_extsources("apt::libxaw7-dev")
|
||
|
end
|
||
|
|
||
|
on_install("macosx", "linux", function (package)
|
||
|
import("package.tools.autoconf").install(package)
|
||
|
end)
|
||
|
|
||
|
on_test(function (package)
|
||
|
assert(package:has_cfuncs("XawInitializeWidgetSet", {includes = "X11/Xaw/XawInit.h"}))
|
||
|
end)
|