Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding luabind formula

  • Loading branch information...
commit 0935fc995f044c3c8fa9d28fc7db305d63fe90a7 1 parent 21591eb
Dennis Luxen authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 Library/Formula/luabind.rb
View
8 Library/Formula/luabind.rb
@@ -2,14 +2,12 @@
class Luabind < Formula
homepage 'http://www.rasterbar.com/products/luabind.html'
-
url 'https://github.com/luabind/luabind/zipball/v0.9.1'
- version '0.9.1'
sha1 '37a6b8b74444545dd0c0fcdf8a6746128b40d7a1'
depends_on 'lua'
depends_on 'boost'
- depends_on 'bjam'
+ depends_on 'boost-build' => :build
def patches
[
@@ -19,13 +17,12 @@ def patches
"https://github.com/luabind/luabind/commit/3044a9053ac50977684a75c4af42b2bddb853fad.diff"
]
end
-
+
def install
args = [
"release",
"install"
]
-
if ENV.compiler == :clang
args << "--toolset=clang"
elsif ENV.compiler == :llvm
@@ -33,7 +30,6 @@ def install
elsif ENV.compiler == :gcc
args << "--toolset=darwin"
end
-
system "bjam", *args
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.