forked from seanhoughton/homebrew-indi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
indi-atik.rb
20 lines (17 loc) · 862 Bytes
/
indi-atik.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'formula'
class IndiAtik < Formula
homepage 'http://www.indilib.org'
url 'http://download.cloudmakers.eu/indi-atik-0.34.tar.gz'
sha256 '2fa3e2447b3f5b48bc85ca07f8e87b0e2632139579aae5801f7e5a34d21d4f29'
depends_on 'cmake' => :build
depends_on 'seanhoughton/astronomy/libindi'
def install
prefix.install "COPYRIGHT.txt"
bin.install Dir["bin/*"]
lib.install Dir["lib/*"]
share.install Dir["share/*"]
system "install_name_tool -id /usr/local/libatikccd.0.dylib #{prefix}/lib/libatikccd.0.dylib"
system "install_name_tool -change /Users/polakovic/Development/indi-atik/libatikccd.0.dylib /usr/local/lib/libatikccd.0.dylib #{prefix}/bin/indi_atik_ccd"
system "install_name_tool -change /Users/polakovic/Development/indi-atik/libatikccd.0.dylib /usr/local/lib/libatikccd.0.dylib #{prefix}/bin/atik_ccd_test"
end
end