summaryrefslogtreecommitdiff
path: root/homebrew/luabind/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/luabind/.beer')
-rw-r--r--homebrew/luabind/.beer55
1 files changed, 55 insertions, 0 deletions
diff --git a/homebrew/luabind/.beer b/homebrew/luabind/.beer
new file mode 100644
index 000000000..2099dd43b
--- /dev/null
+++ b/homebrew/luabind/.beer
@@ -0,0 +1,55 @@
+{
+ "name": "Luabind",
+ "description": "Library for bindings between C++ and Lua",
+ "url": "https://downloads.sourceforge.net/project/luabind/luabind/0.9.1/luabind-0.9.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/luabind/luabind",
+ "depends": [
+ {
+ "depend": "boost-build",
+ "build-depend": true
+ },
+ {
+ "depend": "boost",
+ "build-depend": false
+ },
+ {
+ "depend": "lua@5.1",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://gist.githubusercontent.com/tdsmith/e6d9d3559ec1d9284c0b/raw/4ac01936561ef9d7541cf8e78a230bebef1a8e10/luabind.diff",
+ "strip": "1"
+ },
+ {
+ "url": "https://gist.githubusercontent.com/DennisOSRM/3728987/raw/052251fcdc23602770f6c543be9b3e12f0cac50a/Jamroot.diff",
+ "strip": "1"
+ },
+ {
+ "url": "https://github.com/luabind/luabind/commit/3044a9053ac50977684a75c4af42b2bddb853fad.diff?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://gist.githubusercontent.com/DennisOSRM/a246514bf7d01631dda8/raw/0e83503dbf862ebfb6ac063338a6d7bca793f94d/object_rep.diff",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "ENV[\"LUA_PATH\"] = Formula[\"lua@5.1\"].opt_prefix",
+ "args = %w[release install]",
+ "if ENV.compiler == :clang",
+ "args << \"--toolset=clang\"",
+ "elsif ENV.compiler == :gcc",
+ "args << \"--toolset=darwin\"",
+ "end",
+ "args << \"--prefix=#{prefix}\"",
+ "system \"bjam\", *args",
+ "(lib/\"pkgconfig/luabind.pc\").write pc_file"
+ ],
+ "version": "0.9.1",
+ "file": "luabind.rb"
+} \ No newline at end of file