aboutsummaryrefslogtreecommitdiff
path: root/binary
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-07-17 15:59:00 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-07-18 11:24:07 -0300
commit7108a8b6a1c2f2b6d629135fc797a5a0aa25f934 (patch)
treea2db8f8c02020f940fdf761cd1ce61058723dadd /binary
parentb2ac4f3a9b780f6bde413dc1b5463654bb8be8d7 (diff)
downloadluarocks-7108a8b6a1c2f2b6d629135fc797a5a0aa25f934.tar.gz
luarocks-7108a8b6a1c2f2b6d629135fc797a5a0aa25f934.tar.bz2
luarocks-7108a8b6a1c2f2b6d629135fc797a5a0aa25f934.zip
binary: add lua-bz2 dependency
Diffstat (limited to 'binary')
-rwxr-xr-xbinary/all_in_one1
-rw-r--r--binary/lua-bz2-0.1.0-1.rockspec44
2 files changed, 45 insertions, 0 deletions
diff --git a/binary/all_in_one b/binary/all_in_one
index 9c7a690c..882289f5 100755
--- a/binary/all_in_one
+++ b/binary/all_in_one
@@ -468,6 +468,7 @@ local function main()
468 luaposix = if_platform("unix", "./binary/luaposix-34.0.4-1.rockspec"), 468 luaposix = if_platform("unix", "./binary/luaposix-34.0.4-1.rockspec"),
469 luasocket = "luasocket", 469 luasocket = "luasocket",
470 ["lua-zlib"] = "./binary/lua-zlib-1.2-0.rockspec", 470 ["lua-zlib"] = "./binary/lua-zlib-1.2-0.rockspec",
471 ["lua-bz2"] = "./binary/lua-bz2-0.1.0-1.rockspec",
471 luafilesystem = "luafilesystem", 472 luafilesystem = "luafilesystem",
472 } 473 }
473 474
diff --git a/binary/lua-bz2-0.1.0-1.rockspec b/binary/lua-bz2-0.1.0-1.rockspec
new file mode 100644
index 00000000..aa29293f
--- /dev/null
+++ b/binary/lua-bz2-0.1.0-1.rockspec
@@ -0,0 +1,44 @@
1package = "lua-bz2"
2version = "0.1.0-1"
3source = {
4 url = "git+ssh://git@github.com/hishamhm/lua-bz2.git",
5 tag = "0.1.0",
6}
7description = {
8 summary = "A Lua binding to Julian Seward's libbzip2",
9 detailed = [[
10 Support for reading and writing .bz2 files
11 and handling streams compressed in bzip2 format.
12 ]],
13 homepage = "https://github.com/harningt/lua-bz2",
14 license = "ISC"
15}
16external_dependencies = {
17 BZ2 = {
18 library = "bz2"
19 }
20}
21build = {
22 type = "builtin",
23 modules = {
24 bz2 = {
25 incdirs = {
26 "$(BZ2_INCDIR)"
27 },
28 libdirs = {
29 "$(BZ2_LIBDIR)"
30 },
31 libraries = {
32 "bz2"
33 },
34 sources = {
35 "lbz.c",
36 "lbz2_common.c",
37 "lbz2_file_reader.c",
38 "lbz2_file_writer.c",
39 "lbz2_stream.c",
40 }
41 },
42 ["bz2.ltn12"] = "bz2/ltn12.lua",
43 }
44}