From 5c5988cfb09bd73676b6be51ae673d5da2658035 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 21 Sep 2013 20:47:31 -0500 Subject: nanomsg: use spec deps --- Library/Formula/nanomsg.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3