diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/pianod.rb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Library/Formula/pianod.rb b/Library/Formula/pianod.rb new file mode 100644 index 000000000..28b6c91b5 --- /dev/null +++ b/Library/Formula/pianod.rb @@ -0,0 +1,28 @@ +require "formula" + +class Pianod < Formula + homepage "http://deviousfish.com/pianod/" + url "http://deviousfish.com/Downloads/pianod/pianod-165.tar.gz" + sha1 "765efcf31f0e868538c81d03ae789df617d4c621" + + depends_on "pkg-config" => :build + + depends_on "libao" + depends_on "libgcrypt" + depends_on "gnutls" + depends_on "json-c" + depends_on "faad2" => :recommended + depends_on "mad" => :recommended + + def install + system "./configure", "--disable-debug", + "--disable-dependency-tracking", + "--disable-silent-rules", + "--prefix=#{prefix}" + system "make", "install" + end + + test do + system "#{bin}/pianod", '-v' + end +end |
