libfaketime 0.9.5 (new formula)
Modify system time for apps. Closes Homebrew/homebrew#23245. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
6641e1ae41
commit
21a155def8
1 changed files with 21 additions and 0 deletions
21
Formula/libfaketime.rb
Normal file
21
Formula/libfaketime.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
require 'formula'
|
||||
|
||||
class Libfaketime < Formula
|
||||
homepage 'http://www.code-wizards.com/projects/libfaketime'
|
||||
url 'http://code-wizards.com/projects/libfaketime/libfaketime-0.9.5.tar.gz'
|
||||
sha1 '12199af854004f231892ab6976c2e99b937e2d61'
|
||||
|
||||
depends_on :macos => :lion
|
||||
|
||||
fails_with :llvm do
|
||||
build 2336
|
||||
cause 'No thread local storage support'
|
||||
end
|
||||
|
||||
def install
|
||||
system "make", "-C", "src", "-f", "Makefile.OSX", "PREFIX=#{prefix}"
|
||||
bin.install 'src/faketime'
|
||||
(lib/'faketime').install 'src/libfaketime.1.dylib'
|
||||
man1.install 'man/faketime.1'
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue