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.
17 lines
633 B
17 lines
633 B
package("libxpm") |
|
|
|
set_homepage("https://gitlab.freedesktop.org/xorg/lib/libxpm") |
|
set_description("X.Org: X Pixmap (XPM) image file format library") |
|
|
|
add_urls("https://www.x.org/archive/individual/lib/libXpm-$(version).tar.gz") |
|
add_versions("3.5.13", "e3dfb0fb8c1f127432f2a498c7856b37ce78a61e8da73f1aab165a73dd97ad00") |
|
|
|
add_deps("libx11", "xorgproto", "gettext") |
|
|
|
on_install("macosx", "linux", function (package) |
|
import("package.tools.autoconf").install(package) |
|
end) |
|
|
|
on_test(function (package) |
|
assert(package:has_cfuncs("XpmCreatePixmapFromData", {includes = "X11/xpm.h"})) |
|
end)
|
|
|