require 'formula' class Libdnet < Formula url 'http://libdnet.googlecode.com/files/libdnet-1.12.tgz' homepage 'http://code.google.com/p/libdnet/' md5 '9253ef6de1b5e28e9c9a62b882e44cc9' if MacOS.xcode_version >= '4.3' depends_on "automake" => :build depends_on "libtool" => :build end def options [['--with-python', 'Build Python module too.']] end def install # autoreconf to get '.dylib' extension on shared lib ENV['ACLOCAL'] = 'aclocal -I config' system 'autoreconf', '-ivf' args = %W[ --disable-dependency-tracking --prefix=#{prefix} --mandir=#{man} ] args << "--with-python" if ARGV.include? "--with-python" system "./configure", *args system "make install" end end e88e7ea52d13660f74afb705d76'/> :beer: The missing package manager for OS X.
aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mplayershell.rb
blob: 01977a79e3ade82caff479406b87fe73108e1a41 (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
33
34
35
36
37
38
39
40
41
42
43