Use new depends_on syntax in all formula
Many formula were imported during the development of the dependency branch.
This commit is contained in:
parent
ec4aa1f6b6
commit
a0759ae93a
21 changed files with 32 additions and 74 deletions
|
@ -5,9 +5,7 @@ class Automoc4 <Formula
|
|||
@homepage='http://techbase.kde.org/Development/Tools/Automoc4'
|
||||
@md5='91bf517cb940109180ecd07bc90c69ec'
|
||||
|
||||
def deps
|
||||
BinaryDep.new 'cmake'
|
||||
end
|
||||
depends_on 'cmake'
|
||||
|
||||
def install
|
||||
system "cmake . #{std_cmake_parameters}"
|
||||
|
|
|
@ -5,11 +5,9 @@ class Couchdb <Formula
|
|||
@homepage='http://couchdb.apache.org/'
|
||||
@md5='9583efae5adfb3f9043e970fef825561'
|
||||
|
||||
def deps
|
||||
LibraryDep.new 'spidermonkey'
|
||||
LibraryDep.new 'icu4c'
|
||||
BinaryDep.new 'erlang'
|
||||
end
|
||||
depends_on 'spidermonkey'
|
||||
depends_on 'icu4c'
|
||||
depends_on 'erlang'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
|
|
|
@ -5,9 +5,7 @@ class Gnutls <Formula
|
|||
@homepage='http://www.gnu.org/software/gnutls/gnutls.html'
|
||||
@sha1='c25fb354258777f9ee34b79b08eb87c024cada75'
|
||||
|
||||
def deps
|
||||
'libgcrypt'
|
||||
end
|
||||
depends_on 'libgcrypt'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
|
|
|
@ -5,10 +5,8 @@ class Irssi <Formula
|
|||
@homepage='http://irssi.org/'
|
||||
@md5='00efe7638dd596d5930dfa2aeae87b3a'
|
||||
|
||||
def deps
|
||||
BinaryDep.new 'pkg-config'
|
||||
LibraryDep.new 'glib'
|
||||
end
|
||||
depends_on 'pkg-config'
|
||||
depends_on 'glib'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
|
|
|
@ -5,9 +5,7 @@ class Lftp <Formula
|
|||
@homepage='http://lftp.yar.ru/'
|
||||
@md5='6c43ffdb59234ff0533cfdda0c3c305c'
|
||||
|
||||
def deps
|
||||
LibraryDep.new 'readline'
|
||||
end
|
||||
depends_on 'readline'
|
||||
|
||||
def install
|
||||
ENV['CXXFLAGS'] += " -fno-exceptions -fno-rtti -fno-implement-inlines"
|
||||
|
|
|
@ -5,9 +5,7 @@ class Libgcrypt <Formula
|
|||
@homepage='http://www.gnupg.org/'
|
||||
@sha1='3987f0efcbb7048c136d5c859e88eee1763a14f6'
|
||||
|
||||
def deps
|
||||
'libgpg-error'
|
||||
end
|
||||
depends_on 'libgpg-error'
|
||||
|
||||
def install
|
||||
ENV.j1
|
||||
|
|
|
@ -5,9 +5,7 @@ class Libgee <Formula
|
|||
@homepage='http://live.gnome.org/Libgee'
|
||||
@md5='1ca2b8a87950ef1b14342fb32db3e558'
|
||||
|
||||
def deps
|
||||
BinaryDep.new 'valac'
|
||||
end
|
||||
depends_on 'vala'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
|
|
|
@ -5,9 +5,7 @@ class Lighttpd <Formula
|
|||
@homepage='http://www.lighttpd.net/'
|
||||
@md5='0ab6bb7b17bf0f515ce7dce68e5e215a'
|
||||
|
||||
def deps
|
||||
LibraryDep.new 'pcre'
|
||||
end
|
||||
depends_on :pcre
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking", "--with-openssl", "--with-ldap"
|
||||
|
|
|
@ -5,9 +5,7 @@ class Logrotate <Formula
|
|||
@homepage='http://packages.debian.org/testing/admin/logrotate'
|
||||
@md5='b3589bea6d8d5afc8a84134fddaae973'
|
||||
|
||||
def deps
|
||||
LibraryDep.new 'popt'
|
||||
end
|
||||
depends_on 'popt'
|
||||
|
||||
def patches
|
||||
# these patches emerge from the logrotate patch. Recursively nice!
|
||||
|
|
|
@ -5,9 +5,7 @@ class Most <Formula
|
|||
@homepage='http://www.jedsoft.org/most/'
|
||||
@md5='4c42abfc8d3ace1b0e0062ea021a5917'
|
||||
|
||||
def deps
|
||||
LibraryDep.new 's-lang'
|
||||
end
|
||||
depends_on 's-lang'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
|
|
|
@ -5,9 +5,7 @@ class Rasqal <Formula
|
|||
@homepage='http://librdf.org/rasqal/'
|
||||
@md5='fca8706f2c4619e2fa3f8f42f8fc1e9d'
|
||||
|
||||
def deps
|
||||
LibraryDep.new 'raptor'
|
||||
end
|
||||
depends_on 'raptor'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
|
|
|
@ -5,10 +5,8 @@ class Redland <Formula
|
|||
@homepage='http://librdf.org/'
|
||||
@md5='e5ef0c29c55b4f0f5aeed7955b4d383b'
|
||||
|
||||
def deps
|
||||
LibraryDep.new 'raptor'
|
||||
LibraryDep.new 'rasqal'
|
||||
end
|
||||
depends_on 'raptor'
|
||||
depends_on 'rasqal'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
|
|
|
@ -5,10 +5,8 @@ class SLang <Formula
|
|||
@homepage='http://www.s-lang.org/'
|
||||
@md5='9a72420df2aa7b1932a195c6e5a85465'
|
||||
|
||||
def deps
|
||||
OptionalLibraryDep.new 'pcre'
|
||||
OptionalLibraryDep.new 'oniguruma'
|
||||
end
|
||||
depends_on 'pcre' => :optional
|
||||
depends_on 'oniguruma' => :optional
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-png=/usr/X11R6"
|
||||
|
|
|
@ -5,11 +5,9 @@ class Soprano <Formula
|
|||
@homepage='http://soprano.sourceforge.net/'
|
||||
@md5='c9a2c008b80cd5d76599e9d48139dfe9'
|
||||
|
||||
def deps
|
||||
LibraryDep.new 'qt'
|
||||
LibraryDep.new 'clucene'
|
||||
LibraryDep.new 'redland'
|
||||
end
|
||||
depends_on 'qt'
|
||||
depends_on 'clucene'
|
||||
depends_on 'redland'
|
||||
|
||||
def install
|
||||
ENV['CLUCENE_HOME'] = HOMEBREW_PREFIX
|
||||
|
|
|
@ -5,9 +5,7 @@ class Sphinx <Formula
|
|||
@homepage='http://www.sphinxsearch.com'
|
||||
@md5='428a14df41fb425e664d9e2d6178c037'
|
||||
|
||||
def deps
|
||||
'mysql'
|
||||
end
|
||||
depends_on 'mysql'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
|
|
|
@ -5,11 +5,8 @@ class Spidermonkey <Formula
|
|||
@homepage='https://developer.mozilla.org/en/SpiderMonkey'
|
||||
@md5='5571134c3863686b623ebe4e6b1f6fe6'
|
||||
|
||||
def deps
|
||||
# You can build Python without readline, but you really don't want to.
|
||||
LibraryDep.new 'readline'
|
||||
LibraryDep.new 'nspr'
|
||||
end
|
||||
depends_on 'readline'
|
||||
depends_on 'nspr'
|
||||
|
||||
def patches
|
||||
DATA
|
||||
|
|
|
@ -5,10 +5,8 @@ class Strigi <Formula
|
|||
@homepage='http://strigi.sourceforge.net/'
|
||||
@md5='324fd9606ac77765501717ff92c04f9a'
|
||||
|
||||
def deps
|
||||
BinaryDep.new('cmake')
|
||||
LibraryDep.new('CLucene')
|
||||
end
|
||||
depends_on 'cmake'
|
||||
depends_on 'CLucene'
|
||||
|
||||
def install
|
||||
ENV['CLUCENE_HOME'] = HOMEBREW_PREFIX
|
||||
|
|
|
@ -5,9 +5,8 @@ class Vala <Formula
|
|||
@homepage='http://live.gnome.org/Vala'
|
||||
@md5='a102d582b2ac75b6bcdc5785683263fc'
|
||||
|
||||
def deps
|
||||
LibraryDep.new 'glib'
|
||||
end
|
||||
depends_on 'glib'
|
||||
depends_on 'gettext'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
|
|
|
@ -5,9 +5,7 @@ class Weechat <Formula
|
|||
@homepage='http://www.weechat.org'
|
||||
@md5='c31cfc229e964ff9257cc9c7f9e6c9bc'
|
||||
|
||||
def deps
|
||||
BinaryDep.new 'cmake'
|
||||
end
|
||||
depends_on 'cmake'
|
||||
|
||||
def install
|
||||
system "cmake", "-DDISABLE_PERL=ON", std_cmake_parameters, "."
|
||||
|
|
|
@ -5,10 +5,8 @@ class Wrangler <Formula
|
|||
@homepage='http://www.cs.kent.ac.uk/projects/forse/'
|
||||
@md5='0ddc9308eb82382d11d0a6df486050b5'
|
||||
|
||||
def deps
|
||||
BinaryDep.new 'erlang'
|
||||
end
|
||||
|
||||
depends_on 'erlang'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
system "make"
|
||||
|
|
|
@ -11,9 +11,7 @@ class Znc <Formula
|
|||
@homepage='http://en.znc.in/wiki/ZNC'
|
||||
@md5='378187acd114769f8f97ef2d4b19da25'
|
||||
|
||||
def deps
|
||||
LibraryDep.new 'c-ares'
|
||||
end
|
||||
depends_on 'c-ares'
|
||||
|
||||
def skip_clean? path
|
||||
path == bin+'znc'
|
||||
|
|
Loading…
Reference in a new issue