This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Adding luabind formula

  • Loading branch information...
1 parent 21591eb commit 0935fc995f044c3c8fa9d28fc7db305d63fe90a7 Dennis Luxen committed Sep 17, 2012
Showing with 2 additions and 6 deletions.
  1. +2 −6 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,21 +17,19 @@ 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
args << "--toolset=llvm"
elsif ENV.compiler == :gcc
args << "--toolset=darwin"
end
-
system "bjam", *args
end
end

0 comments on commit 0935fc9

Please sign in to comment.