Skip to content

Commit

Permalink
Update of the Homebrew formula and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfgang Hommel committed Nov 15, 2013
1 parent 1068186 commit b28b5c3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
6 changes: 2 additions & 4 deletions packaging/OSX/Homebrew/libfaketime.rb
Expand Up @@ -9,13 +9,11 @@ class Libfaketime < Formula

fails_with :llvm do
build 2336
cause <<-EOS.undent
No thread local storage support.
EOS
cause 'No thread local storage support'
end

def install
system "make -C src -f Makefile.OSX PREFIX=#{prefix}"
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'
Expand Down
17 changes: 11 additions & 6 deletions packaging/OSX/README
Expand Up @@ -29,21 +29,26 @@ and handled via a ticketing system:

## Homebrew

The libfaketime 'formula' for Homebrew has been submitted via an pull request
to https://github.com/mxcl/homebrew in October, 2013, and awaits approval.
Homebrew users can use the 'brew install' command on the provided formula
file meanwhile.
The libfaketime 'formula' for Homebrew is available since November, 2013.
Homebrew users can use 'brew install libfaketime' as installation command.

Some libfaketime formula caveats:

- "depends_on :macos => :lion" must be set for libfaketime >=0.9.5
- :llvm builds <= 2336 must be blacklisted because libfaketime =0.9.5
requires a compiler with thread local storage support.

Formula submission is handled via pull request on Github following the
"one formula per commit, one commit per formula" rule, which necessitates
squashing commits and forced pushes when applying fixes. Style issues
complementary to the documentation have been discussed in

https://github.com/mxcl/homebrew/pull/23245


## Fink

A libfaketime.info file is included in the Fink 10.7 tree since October,
A libfaketime.info file is included in the Fink 10.7 tree since October,
2013, and installed using

fink install libfaketime
Expand All @@ -58,5 +63,5 @@ Some libfaketime fink info file caveats:
into the wrapper. However, "make install" needs to deploy into PREFIX=%{i} to
make packaging work.

Submission is via via https://sourceforge.net/p/fink/package-submissions/
Submission is via https://sourceforge.net/p/fink/package-submissions/

0 comments on commit b28b5c3

Please sign in to comment.