summaryrefslogtreecommitdiffstats
path: root/tests/deckard/contrib/libfaketime/packaging/OSX/Homebrew
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:55:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:55:53 +0000
commit3d0386f27ca66379acf50199e1d1298386eeeeb8 (patch)
treef87bd4a126b3a843858eb447e8fd5893c3ee3882 /tests/deckard/contrib/libfaketime/packaging/OSX/Homebrew
parentInitial commit. (diff)
downloadknot-resolver-upstream.tar.xz
knot-resolver-upstream.zip
Adding upstream version 3.2.1.upstream/3.2.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/deckard/contrib/libfaketime/packaging/OSX/Homebrew')
-rw-r--r--tests/deckard/contrib/libfaketime/packaging/OSX/Homebrew/libfaketime.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/deckard/contrib/libfaketime/packaging/OSX/Homebrew/libfaketime.rb b/tests/deckard/contrib/libfaketime/packaging/OSX/Homebrew/libfaketime.rb
new file mode 100644
index 0000000..8d92b76
--- /dev/null
+++ b/tests/deckard/contrib/libfaketime/packaging/OSX/Homebrew/libfaketime.rb
@@ -0,0 +1,21 @@
+require 'formula'
+
+class Libfaketime < Formula
+ homepage 'https://github.com/wolfcw/libfaketime'
+ url 'https://github.com/wolfcw/libfaketime/archive/v0.9.7.tar.gz'
+ sha1 'eb1cbacf548aefa36214bea1345f35b8763027a1'
+
+ depends_on :macos => :sierra
+
+ 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