-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
uberftp 2.8 #40848
uberftp 2.8 #40848
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,19 @@ | ||
class Uberftp < Formula | ||
desc "Interactive GridFTP client" | ||
homepage "http://dims.ncsa.illinois.edu/set/uberftp/" | ||
url "https://github.com/JasonAlt/UberFTP/archive/Version_2_7.tar.gz" | ||
sha256 "29a111a86fa70dbbc529a5d3e5a6befc1681e64e32dc019a1a6a98cd43ffb204" | ||
homepage 'http://dims.ncsa.illinois.edu/set/uberftp/' | ||
url 'https://github.com/JasonAlt/UberFTP/archive/Version_2_8.tar.gz' | ||
sha256 '8a397d6ef02bb714bb0cbdb259819fc2311f5d36231783cd520d606c97759c2a' | ||
|
||
depends_on "globus-toolkit" | ||
|
||
def install | ||
# get the flavor | ||
globus = Formula["globus-toolkit"].opt_prefix | ||
|
||
core = `"#{globus}/sbin/gpt-query" globus_core` | ||
flavor = case core | ||
when /gcc64dbg/ then "gcc64dbg" | ||
when /gcc32dbg/ then "gcc32dbg" | ||
end | ||
#patches needed since location changed with globus-toolkit versions >= 6.0, patch to upstream not yet merged https://github.com/JasonAlt/UberFTP/pull/8 | ||
inreplace "configure", "globus_location/include/globus/gcc64dbg", "globus_location/libexec/include" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like this would break 32-bit builds? Can you please submit these patches to the upstream developers of this project and add a link to the upstream patch submission and explanation of why the patch is needed in a comment in the formula file. Thanks! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, cool. Let's get the patch submitting upstream before we include this, thanks! |
||
inreplace "configure", "globus_location/lib64", "globus_location/libexec/lib" | ||
|
||
system "./configure", "--prefix=#{prefix}", | ||
"--with-globus-flavor=#{flavor}", | ||
"--with-globus=#{globus}" | ||
system "make" | ||
system "make", "install" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use double quotes here.