mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
crossroads 1.0.1
Closes #11060. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
1 parent
8e625e2192
commit
d8ced2d065
1 file changed
+31
@@ -0,0 +1,31 @@
|
||||
require 'formula'
|
||||
|
||||
class Crossroads < Formula
|
||||
homepage 'http://www.crossroads.io/'
|
||||
url 'https://download.crossroads.io/libxs-1.0.1.tar.gz'
|
||||
md5 '915aaf168f4a47d8ccf6d03b33845038'
|
||||
head 'https://github.com/crossroads-io/libxs.git'
|
||||
|
||||
fails_with_llvm "Compiling with LLVM gives a segfault while linking.",
|
||||
:build => 2326 if MacOS.snow_leopard?
|
||||
|
||||
if ARGV.build_head? and MacOS.xcode_version >= "4.3"
|
||||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
end
|
||||
|
||||
def options
|
||||
[['--with-pgm', 'Build with PGM extension']]
|
||||
end
|
||||
|
||||
def install
|
||||
system "./autogen.sh" if ARGV.build_head?
|
||||
|
||||
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
|
||||
args << "--with-pgm" if ARGV.include? '--with-pgm'
|
||||
system "./configure", *args
|
||||
|
||||
system "make"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user