diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2022-04-11 16:15:15 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2022-04-11 17:02:28 -0300 |
| commit | eddf776d64941454377f996733f96873cb79bcae (patch) | |
| tree | 9ca362c77bd1827feb872f8b67650821012a9d4d /binary/lua-bz2-0.2.1-1.rockspec | |
| parent | 21c84dad3ff4e0de10b813260b6a5247771d6754 (diff) | |
| download | luarocks-eddf776d64941454377f996733f96873cb79bcae.tar.gz luarocks-eddf776d64941454377f996733f96873cb79bcae.tar.bz2 luarocks-eddf776d64941454377f996733f96873cb79bcae.zip | |
Changes for building the all-in-one binary with Lua 5.4
Diffstat (limited to 'binary/lua-bz2-0.2.1-1.rockspec')
| -rw-r--r-- | binary/lua-bz2-0.2.1-1.rockspec | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/binary/lua-bz2-0.2.1-1.rockspec b/binary/lua-bz2-0.2.1-1.rockspec new file mode 100644 index 00000000..d5a73778 --- /dev/null +++ b/binary/lua-bz2-0.2.1-1.rockspec | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | package = "lua-bz2" | ||
| 2 | version = "0.2.1-1" | ||
| 3 | source = { | ||
| 4 | url = "git+ssh://git@github.com/hishamhm/lua-bz2.git", | ||
| 5 | tag = "0.2.1", | ||
| 6 | } | ||
| 7 | description = { | ||
| 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 | } | ||
| 16 | external_dependencies = { | ||
| 17 | BZ2 = { | ||
| 18 | library = "bz2" | ||
| 19 | } | ||
| 20 | } | ||
| 21 | build = { | ||
| 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 | } | ||
