require 'formula' class Sdhash < Formula homepage 'http://roussev.net/sdhash/sdhash.html' url 'http://roussev.net/sdhash/releases/packages/sdhash-3.1.tar.gz' sha1 '0539d05a9c68aee509ca2d2dee30e5067dc211d0' def install inreplace "Makefile" do |s| # Remove space between -L and the path (reported upstream) s.change_make_var! "LDFLAGS", "-L. -L./external/stage/lib -lboost_regex -lboost_system -lboost_filesystem -lboost_program_options -lc -lm -lcrypto -lboost_thread -lpthread" end system 'make', 'boost' system 'make', 'stream' bin.install 'sdhash' man1.install Dir['man/*.1'] end test do system "#{bin}/sdhash" end end /td>
:beer: The missing package manager for OS X.
aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libimobiledevice.rb
blob: 837666769d51895a4d47c52278c97239adcb660e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32