-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Build LPeg via LuaRocks to deal with Android shenanigans once and for all... Involves writing a custom makefile & rockspec for lpeg, because everything is terrible. * Apply the android-aarch64 patch from #993 * libzmq is linked against the STL, so, as stupid as it looks, this means czmq must, too. * Unbreak input on 64bit Android size_t is 64bit, need to truncate to a Lua number
- Loading branch information
Showing
11 changed files
with
274 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package = "LPeg" | ||
version = "1.0.2-2" | ||
source = { | ||
url = "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz", | ||
md5 = "d342571886f1abcb7afe6a83d024d583", | ||
} | ||
description = { | ||
summary = "Parsing Expression Grammars For Lua", | ||
detailed = [[ | ||
LPeg is a new pattern-matching library for Lua, based on Parsing | ||
Expression Grammars (PEGs). The nice thing about PEGs is that it | ||
has a formal basis (instead of being an ad-hoc set of features), | ||
allows an efficient and simple implementation, and does most things | ||
we expect from a pattern-matching library (and more, as we can | ||
define entire grammars). | ||
]], | ||
homepage = "http://www.inf.puc-rio.br/~roberto/lpeg.html", | ||
maintainer = "Gary V. Vaughan <gary@vaughan.pe>", | ||
license = "MIT/X11" | ||
} | ||
dependencies = { | ||
"lua >= 5.1" | ||
} | ||
build = { | ||
type = "make", | ||
makefile = "makefile", | ||
build_target = "lpeg.so", | ||
-- This is dumb as... rocks. | ||
variables = { | ||
CFLAGS = "$(CFLAGS)", | ||
LIBFLAG = "$(LIBFLAG)", | ||
LUA_LIBDIR = "$(LUA_LIBDIR)", | ||
LUA_BINDIR = "$(LUA_BINDIR)", | ||
LUA_INCDIR = "$(LUA_INCDIR)", | ||
LUA = "$(LUA)", | ||
LUALIB = "$(LUALIB)", | ||
LIBS = "$(LIBS)", | ||
}, | ||
install_variables = { | ||
INST_PREFIX = "$(PREFIX)", | ||
INST_BINDIR = "$(BINDIR)", | ||
INST_LIBDIR = "$(LIBDIR)", | ||
INST_LUADIR = "$(LUADIR)", | ||
INST_CONFDIR = "$(CONFDIR)", | ||
}, | ||
} |
Oops, something went wrong.