aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-26 22:21:28 -0700
committerAdam Vandenberg2012-08-26 22:21:28 -0700
commit888abf5f550be246cd1c3def9664d375e7857a9c (patch)
treef259934d5581bca8591557342f9ffb1a64628134 /Library
parent2e9e49cd57b15e4bd6771788428f69f225481426 (diff)
downloadhomebrew-888abf5f550be246cd1c3def9664d375e7857a9c.tar.bz2
crossroads: use new dsl
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/crossroads.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/crossroads.rb b/Library/Formula/crossroads.rb
index d13706b5e..02578e2ff 100644
--- a/Library/Formula/crossroads.rb
+++ b/Library/Formula/crossroads.rb
@@ -7,23 +7,21 @@ class Crossroads < Formula
head 'https://github.com/crossroads-io/libxs.git'
+ option 'with-pgm', 'Build with PGM extension'
+
depends_on :automake
depends_on :libtool
- def options
- [['--with-pgm', 'Build with PGM extension']]
- end
-
fails_with :llvm do
build 2326
cause "Compiling with LLVM gives a segfault while linking."
end
def install
- system "./autogen.sh" if ARGV.build_head?
+ system "./autogen.sh" if build.head?
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
- args << "--with-pgm" if ARGV.include? '--with-pgm'
+ args << "--with-pgm" if build.include? 'with-pgm'
system "./configure", *args
system "make"