aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-09-21 20:47:31 -0500
committerJack Nagel2013-09-21 21:04:48 -0500
commit5c5988cfb09bd73676b6be51ae673d5da2658035 (patch)
tree1e4538c8d01382579780ec365d2a8ab4bb05f115 /Library/Formula
parent9aae556c6c984be319a258ec4d28ec4df6378eb9 (diff)
downloadhomebrew-5c5988cfb09bd73676b6be51ae673d5da2658035.tar.bz2
nanomsg: use spec deps
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nanomsg.rb14
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