rockspec_format = "3.0" package = "dromozoa-unix" version = "1.66-1" source = { url = "https://github.com/dromozoa/dromozoa-unix/releases/download/v1.66/dromozoa-unix-1.66.tar.gz"; } description = { summary = "Lua bindings for UNIX system interface"; license = "GPL-3"; homepage = "https://github.com/dromozoa/dromozoa-unix/"; maintainer = "Tomoyuki Fujimori "; } test = { type = "command"; command = "make check"; } build = { type = "command"; build_command = [[env PATH="$(LUA_BINDIR):$PATH" CPPFLAGS="$CPPFLAGS -I$(LUA_INCDIR)" CXXFLAGS="$CXXFLAGS -Wall -W -Wno-missing-field-initializers $(CFLAGS)" LDFLAGS="$LDFLAGS -L$(LUA_LIBDIR)" LUA="$(LUA)" ./configure --prefix="$(PREFIX)" && make]]; install_command = [[make luadir="$(LUADIR)" luaexecdir="$(LIBDIR)/dromozoa" install]]; }