diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/nanomsg.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Formula/nanomsg.rb b/Library/Formula/nanomsg.rb index 040d8e46e..3c8b2c025 100644 --- a/Library/Formula/nanomsg.rb +++ b/Library/Formula/nanomsg.rb @@ -6,21 +6,21 @@ class Nanomsg < Formula version '0.1-alpha' sha1 '6b2d9bd60bfcf9377befa006608598716e1c1fe9' - head 'https://github.com/nanomsg/nanomsg.git' + head do + url 'https://github.com/nanomsg/nanomsg.git' - option 'with-test', 'Verify the build with make check' - option 'with-doc', 'Install man pages' if build.head? - option 'without-nanocat', 'Do not install nanocat tool' if build.head? - - if build.head? then depends_on :autoconf depends_on :automake end + option 'with-test', 'Verify the build with make check' + option 'with-doc', 'Install man pages' if build.head? + option 'without-nanocat', 'Do not install nanocat tool' if build.head? + depends_on 'pkg-config'=> :build depends_on :libtool - if build.with? 'doc' then + if build.with? 'doc' depends_on 'asciidoc' => :build depends_on 'xmlto' => :build end |
