diff options
| author | Dimitri Krassovski | 2013-01-27 23:09:53 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-30 08:39:49 -0800 |
| commit | b90f426feb60d2359b7dbff740f0d5f349d8a831 (patch) | |
| tree | 9cc63e5daa8efd2e53066c85d037e5ff6411b981 /Library/Formula | |
| parent | 33ef52359302d4d908e48124fca873380d0522fe (diff) | |
| download | homebrew-b90f426feb60d2359b7dbff740f0d5f349d8a831.tar.bz2 | |
libcec 2.0.5
Closes #17347.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libcec.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/libcec.rb b/Library/Formula/libcec.rb new file mode 100644 index 000000000..df10d819d --- /dev/null +++ b/Library/Formula/libcec.rb @@ -0,0 +1,23 @@ +require 'formula' + +class Libcec < Formula + homepage 'http://libcec.pulse-eight.com/' + url 'https://github.com/Pulse-Eight/libcec/archive/libcec-2.0.5-repack.zip' + sha1 '94b2c94439156c13499620777bfe03900016879a' + + depends_on :autoconf => :build + depends_on :automake => :build + depends_on :libtool => :build + depends_on 'pkg-config' => :build + + def install + system "./bootstrap" + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make install" + end + + def test + system "#{bin}/cec-client", "--info" + end +end |
