diff options
| author | Tim D. Smith | 2015-03-18 00:10:25 -0700 |
|---|---|---|
| committer | Tim D. Smith | 2015-03-18 00:31:40 -0700 |
| commit | 33b794d70f98f8bb334fbf9b4f29553ea6c5b7b6 (patch) | |
| tree | 0800e94b2849fec3acd67e6ef8034dc1ecb5a662 /Library/Formula/libdnet.rb | |
| parent | 0faf90560ac8683662ca6aa034f46edd108557a4 (diff) | |
| download | homebrew-33b794d70f98f8bb334fbf9b4f29553ea6c5b7b6.tar.bz2 | |
libdnet: bottle python bindings
Closes #37826.
Diffstat (limited to 'Library/Formula/libdnet.rb')
| -rw-r--r-- | Library/Formula/libdnet.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/Formula/libdnet.rb b/Library/Formula/libdnet.rb index 68e8ddf00..491a873d1 100644 --- a/Library/Formula/libdnet.rb +++ b/Library/Formula/libdnet.rb @@ -1,7 +1,5 @@ -require 'formula' - class Libdnet < Formula - homepage 'http://code.google.com/p/libdnet/' + homepage 'https://code.google.com/p/libdnet/' url 'https://libdnet.googlecode.com/files/libdnet-1.12.tgz' sha1 '71302be302e84fc19b559e811951b5d600d976f8' @@ -13,10 +11,11 @@ class Libdnet < Formula sha1 "e1570018c6ace49b52f2d77a660c7720e6250660" => :mountain_lion end + option "without-python", "Build without python support" + depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build - depends_on :python => :optional def install # autoreconf to get '.dylib' extension on shared lib @@ -30,6 +29,6 @@ class Libdnet < Formula ] args << "--with-python" if build.with? "python" system "./configure", *args - system "make install" + system "make", "install" end end |
