-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
sysdig 0.1.72 (new formula) #28116
sysdig 0.1.72 (new formula) #28116
Changes from 1 commit
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
require "formula" | ||
|
||
class Sysdig < Formula | ||
homepage "http://www.sysdig.org/" | ||
url 'https://github.com/draios/sysdig/archive/0.1.72.tar.gz' | ||
sha1 'c735c37da82022d22f77490b94f178ad98a1e6f6' | ||
|
||
head 'https://github.com/draios/sysdig.git', :branch => 'development' | ||
|
||
depends_on :macos => :mavericks # depends on clang | ||
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. Should use |
||
depends_on "cmake" => :build | ||
|
||
def install | ||
ENV.deparallelize | ||
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. This isn't ideal; has it been reported to upstream? 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. The build works fine with make -jN, so no need to deparallelize |
||
|
||
mkdir "build" do | ||
system "cmake", "..", *std_cmake_args | ||
system "make", "install" | ||
end | ||
end | ||
|
||
test do | ||
system "#{bin}/sysdig", "-h" | ||
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. Can this test be modified to do something more substantial then e.g. 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. Throwing a few ideas for some more tests:
|
||
end | ||
end |
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.
branch should be 'master', that's what we use