aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBrett Koonce2014-09-23 08:13:57 -0700
committerBrett Koonce2014-09-23 18:46:11 -0700
commit4ee69e0935063accd5975b37add4023cf32dbd46 (patch)
tree9ec59d766054228cf75eb68445a1a67cf88f0bc2 /Library/Formula
parentcb9fae3dc08dfdc3cf79a601ede695e584a22bdf (diff)
downloadhomebrew-4ee69e0935063accd5975b37add4023cf32dbd46.tar.bz2
irods 3.3.1
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/irods.rb40
1 files changed, 20 insertions, 20 deletions
diff --git a/Library/Formula/irods.rb b/Library/Formula/irods.rb
index f1ca2108c..b4cbc13cc 100644
--- a/Library/Formula/irods.rb
+++ b/Library/Formula/irods.rb
@@ -1,38 +1,38 @@
-require 'formula'
+require "formula"
class Irods < Formula
- homepage 'https://www.irods.org'
- url 'https://github.com/irods/irods-legacy/archive/3.3.tar.gz'
- sha1 '2e975fcda20b023155dfd53ff098dde0c3995f75'
+ homepage "https://www.irods.org"
+ url "https://github.com/irods/irods-legacy/archive/3.3.1.tar.gz"
+ sha1 "c5d1b3acc1ec58a51466437afbddd2ab46cb1e8f"
- conflicts_with 'sleuthkit', :because => 'both install `ils`'
+ conflicts_with "sleuthkit", :because => "both install `ils`"
- option 'with-osxfuse', 'Install iRODS FUSE client'
+ option "with-osxfuse", "Install iRODS FUSE client"
depends_on :osxfuse => :optional
def install
- chdir 'iRODS'
- system './scripts/configure'
+ chdir "iRODS"
+ system "./scripts/configure"
# include PAM authentication by default
- inreplace 'config/config.mk', '# PAM_AUTH = 1', 'PAM_AUTH = 1'
- inreplace 'config/config.mk', '# USE_SSL = 1', 'USE_SSL = 1'
+ inreplace "config/config.mk", "# PAM_AUTH = 1", "PAM_AUTH = 1"
+ inreplace "config/config.mk", "# USE_SSL = 1", "USE_SSL = 1"
- system 'make'
+ system "make"
- bin.install Dir['clients/icommands/bin/*'].select {|f| File.executable? f}
+ bin.install Dir["clients/icommands/bin/*"].select {|f| File.executable? f}
# patch in order to use osxfuse
- if build.with? 'osxfuse'
- inreplace 'config/config.mk', '# IRODS_FS = 1', 'IRODS_FS = 1'
- inreplace 'config/config.mk', 'fuseHomeDir=/home/mwan/adil/fuse-2.7.0', "fuseHomeDir=#{HOMEBREW_PREFIX}"
- chdir 'clients/fuse' do
- inreplace 'Makefile', 'lfuse', 'losxfuse'
- inreplace 'Makefile', '-I$(fuseHomeDir)/include', '-I$(fuseHomeDir)/include/osxfuse'
- system 'make'
+ if build.with? "osxfuse"
+ inreplace "config/config.mk", "# IRODS_FS = 1", "IRODS_FS = 1"
+ inreplace "config/config.mk", "fuseHomeDir=/home/mwan/adil/fuse-2.7.0", "fuseHomeDir=#{HOMEBREW_PREFIX}"
+ chdir "clients/fuse" do
+ inreplace "Makefile", "lfuse", "losxfuse"
+ inreplace "Makefile", "-I$(fuseHomeDir)/include", "-I$(fuseHomeDir)/include/osxfuse"
+ system "make"
end
- bin.install Dir['clients/fuse/bin/*'].select {|f| File.executable? f}
+ bin.install Dir["clients/fuse/bin/*"].select {|f| File.executable? f}
end
end