diff --git a/simpleitk-2.1.0-0.rockspec b/simpleitk-2.1.0-0.rockspec new file mode 100644 index 0000000..13c21ce --- /dev/null +++ b/simpleitk-2.1.0-0.rockspec @@ -0,0 +1,30 @@ +#!/usr/bin/env lua + +package = 'simpleitk' +version = '2.1.0-0' +source = { + url = 'https://github.com/SimpleITK/SimpleITKLuaRock/archive/v2.1.0.zip', + dir = 'SimpleITKLuaRock-2.1.0', +} +description = { + summary = "A Lua binding to SimpleITK.", + detailed = '', + homepage = 'https://github.com/SimpleITK/SimpleITKLuaRock', + license = 'BSD', +} +dependencies = { + 'lua >= 5.1' +} +build = { + type = 'cmake', + modules = { + SimpleITK = "SimpleITK-build/Wrapping/Lua/lib/SimpleITK.so", + }, + variables = { + INSTALL_CMOD = "$(LIBDIR)", + CMAKE_BUILD_TYPE = "$(CMAKE_BUILD_TYPE)", + ["CFLAGS:STRING"] = "$(CFLAGS)", + SimpleITK_VERSION = "2.1.0" + }, + copy_directories = { "doc", "examples" } +}