diff options
| author | Erik Kallen | 2014-10-02 10:13:31 +0200 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-02 11:02:30 -0700 |
| commit | bbf80ce216aca407f2eec6402328b8cf0414d5d5 (patch) | |
| tree | 204ca15fd75eaeaea77bcedd489521234bb4fca9 | |
| parent | 3462eb058cfb9cdca37f50243a98ad890803a4c5 (diff) | |
| download | homebrew-bbf80ce216aca407f2eec6402328b8cf0414d5d5.tar.bz2 | |
libmodbus: add HEAD.
Closes #32865.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/libmodbus.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Formula/libmodbus.rb b/Library/Formula/libmodbus.rb index 947f58e59..c4629d4b6 100644 --- a/Library/Formula/libmodbus.rb +++ b/Library/Formula/libmodbus.rb @@ -12,7 +12,18 @@ class Libmodbus < Formula sha1 "efc4d4d0873b838f6124440262afd44675e44f4d" => :lion end + head do + url 'https://github.com/stephane/libmodbus.git' + + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build + end + def install + if build.head? + system "./autogen.sh" + end system "./configure", "--prefix=#{prefix}" system "make install" end |
