From 6c1e20a7fd705ca22dd213de2714d26b5fcee8e8 Mon Sep 17 00:00:00 2001 From: John Regan Date: Thu, 20 Feb 2014 16:13:44 -0600 Subject: [PATCH] Made example rockspec --- .../lua-zlib-git-2014.02.19-1.rockspec | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 rockspecs/lua-zlib-git/lua-zlib-git-2014.02.19-1.rockspec diff --git a/rockspecs/lua-zlib-git/lua-zlib-git-2014.02.19-1.rockspec b/rockspecs/lua-zlib-git/lua-zlib-git-2014.02.19-1.rockspec new file mode 100644 index 0000000..f791980 --- /dev/null +++ b/rockspecs/lua-zlib-git/lua-zlib-git-2014.02.19-1.rockspec @@ -0,0 +1,34 @@ +package="lua-zlib-git" +version="2014.02.19-1" +source = { + url = "https://github.com/brimworks/lua-zlib/archive/f976cfbfc872dc670ecc18b448dfd7ecd6a03765.tar.gz", + dir = "lua-zlib-f976cfbfc872dc670ecc18b448dfd7ecd6a03765", +} +description = { + summary = "Simple streaming interface to zlib for Lua.", + detailed = [[ + This package provides a streaming interface to zlib. + ]], + homepage = "https://github.com/brimworks/lua-zlib", + license = "MIT" +} +dependencies = { + "lua >= 5.1, < 5.3" +} +external_dependencies = { + ZLIB = { + header = "zlib.h", + library = "z", + } +} +build = { + type = "builtin", + modules = { + zlib = { + sources = "lua_zlib.c", + libdirs = "$(ZLIB_LIBDIR)", + incdirs = "$(ZLIB_INCDIR)", + libraries = "z", + }, + } +}