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.
 
 
 

16 lines
630 B

package("freeglut")
set_homepage("http://freeglut.sourceforge.net")
set_description("A free-software/open-source alternative to the OpenGL Utility Toolkit (GLUT) library.")
set_urls("https://github.com/dcnieho/FreeGLUT/archive/FG_$(version).zip",
{version = function (version) return (version:gsub("%.", "_")) end})
add_versions("3.0.0", "050e09f17630249a7d2787c21691e4b7d7b86957a06b3f3f34fa887b561d8e04")
if is_plat("linux", "windows") then
add_deps("cmake")
end
on_install("linux", "windows", function (package)
import("package.tools.cmake").install(package)
end)