aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorPeter Powell2013-11-20 16:07:26 +0000
committerAdam Vandenberg2013-11-22 08:45:13 -0800
commite9cbec5ecb71401e4c045a44a9557ba847b00095 (patch)
tree34e5f5e16daa7ecdd51daa2ac818f1b51874719f /Library
parent82a231bd5d746acca9a5b788555078b23f2ea8f1 (diff)
downloadhomebrew-e9cbec5ecb71401e4c045a44a9557ba847b00095.tar.bz2
InspIRCd: various formula improvements.
* Use the main website domain instead of the GitHub one. * Remove the explicit head branch specification as this is now the default. * Fix a typo in one of the module file names. * Depend on the postgresql formula as it is not part of the system on Mavericks. Closes #24535. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/inspircd.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/inspircd.rb b/Library/Formula/inspircd.rb
index 97ca203d3..e0797f1eb 100644
--- a/Library/Formula/inspircd.rb
+++ b/Library/Formula/inspircd.rb
@@ -1,11 +1,11 @@
require 'formula'
class Inspircd < Formula
- homepage 'http://inspircd.github.com'
+ homepage 'http://www.inspircd.org'
url 'https://github.com/inspircd/inspircd/archive/v2.0.14.tar.gz'
sha1 'b8b29fef06579ca624027a26a989cdea90a290a8'
- head 'https://github.com/inspircd/inspircd.git', :branch => 'master'
+ head 'https://github.com/inspircd/inspircd.git'
skip_clean 'data'
skip_clean 'logs'
@@ -16,12 +16,12 @@ class Inspircd < Formula
depends_on 'libgcrypt' if build.with? 'gnutls'
depends_on :mysql => :optional
depends_on 'pcre' => :optional
+ depends_on 'postgresql' => :optional
depends_on 'sqlite' => :optional
depends_on 'tre' => :optional
option 'without-ldap', 'Build without ldap support'
option 'without-openssl', 'Build without openssl support'
- option 'without-postgres', 'Build without postgres support'
def install
modules = []
@@ -32,7 +32,7 @@ class Inspircd < Formula
modules << 'm_ldapauth.cpp' unless build.without? 'ldap'
modules << 'm_ldapoper.cpp' unless build.without? 'ldap'
modules << 'm_regex_pcre.cpp' if build.with? 'pcre'
- modules << 'm_ssl_pgsql.cpp' unless build.without? 'postgres'
+ modules << 'm_pgsql.cpp' if build.with? 'postgresql'
modules << 'm_sqlite3.cpp' if build.with? 'sqlite'
modules << 'm_regex_tre.cpp' if build.with? 'tre'