nixio-0.3-1.rockspec 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. package = "nixio"
  2. version = "0.3-1"
  3. source = {
  4. url = "http://dev.luci.freifunk-halle.net/nixio/nixio-0.3.tar.bz2"
  5. }
  6. description = {
  7. summary = "System, Networking and I/O library for Lua",
  8. detailed = [[
  9. Nixio is a multi-platform library offering a wide variety
  10. of features such as IPv4, IPv6 and UNIX networking, large file I/O, file
  11. system operations, system and process control, POSIX user/group management,
  12. basic cryptographical hashing, hmac and TLS support, bit operations and
  13. binary conversion.
  14. ]],
  15. homepage = "http://luci.subsignal.org",
  16. license = "Apache 2.0",
  17. maintainer = "Steven Barth",
  18. }
  19. dependencies = {
  20. "lua >= 5.1"
  21. }
  22. external_dependencies = {
  23. OPENSSL = {
  24. header = "openssl/ssl.h",
  25. }
  26. }
  27. build = {
  28. type = "make",
  29. build_variables = {
  30. NIXIO_LDFLAGS = "-lcrypt -L$(OPENSSL_LIBDIR) -I$(OPENSSL_INCDIR)",
  31. LUA_CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR)",
  32. },
  33. install_variables = {
  34. LUA_MODULEDIR = "$(LUADIR)",
  35. LUA_LIBRARYDIR = "$(LIBDIR)",
  36. },
  37. }