diff options
| author | Jack Nagel | 2013-09-21 20:47:31 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-09-21 21:04:48 -0500 |
| commit | 5c5988cfb09bd73676b6be51ae673d5da2658035 (patch) | |
| tree | 1e4538c8d01382579780ec365d2a8ab4bb05f115 /Library | |
| parent | 9aae556c6c984be319a258ec4d28ec4df6378eb9 (diff) | |
| download | homebrew-5c5988cfb09bd73676b6be51ae673d5da2658035.tar.bz2 | |
nanomsg: use spec deps
Diffstat (limited to 'Library')
| -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 |
