diff options
| author | Misty De Meo | 2014-04-29 19:12:43 -0700 |
|---|---|---|
| committer | Misty De Meo | 2014-04-30 08:21:54 -0700 |
| commit | 298dcbab92d491bd03625779de68f990e3c133b4 (patch) | |
| tree | 3f7dae88894ad3d3abd161fb4cc0255745de6d76 /Library/Formula | |
| parent | 9ca1700232eed8a7deb3d8b07157712d8383bf09 (diff) | |
| download | homebrew-298dcbab92d491bd03625779de68f990e3c133b4.tar.bz2 | |
uade: add new HEAD resource
bencode-tools isn't well-known or used enough to justify its own
formula at this point in time, but it's a dependency for the HEAD
version of UADE.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/uade.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/uade.rb b/Library/Formula/uade.rb index 426e5ef63..8a6317c16 100644 --- a/Library/Formula/uade.rb +++ b/Library/Formula/uade.rb @@ -16,7 +16,17 @@ class Uade < Formula depends_on 'pkg-config' => :build depends_on 'libao' + resource "bencode-tools" do + url "https://github.com/heikkiorsila/bencode-tools.git" + end + def install + resource("bencode-tools").stage do + system "./configure", "--prefix=#{prefix}", "--without-python" + system "make" + system "make install" + end if build.head? + system "./configure", "--prefix=#{prefix}" system "make install" end |
