require 'formula'
class Esound < Formula
  url 'http://ftp.gnome.org/pub/gnome/sources/esound/0.2/esound-0.2.41.tar.bz2'
  homepage 'http://www.tux.org/~ricdude/EsounD.html'
  md5 '8d9aad3d94d15e0d59ba9dc0ea990c6c'
  depends_on 'pkg-config' => :build
  depends_on 'audiofile'
  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--enable-ipv6"
    system "make install"
  end
end
rowspan='2'>
blob: 486df6562153580c5e317e7216fc589ce49bc6ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  | 
require 'formula'
class Editorconfig < Formula
  homepage 'http://editorconfig.org'
  url 'https://downloads.sourceforge.net/project/editorconfig/EditorConfig-C-Core/0.12.0/source/editorconfig-core-c-0.12.0.tar.gz'
  sha1 'dfa96da823133fd925e7384f19d7f2acf44f50ba'
  bottle do
    cellar :any
    sha1 "9ecacf9c908945bcda00206afa77d1871b5f2f72" => :mavericks
    sha1 "1b2365c812d65888725763d7dd4ec9cf7bb6c924" => :mountain_lion
    sha1 "84b22980c00b6c779f6308561b06058f5e3d5b11" => :lion
  end
  depends_on 'cmake' => :build
  depends_on 'pcre'
  head 'https://github.com/editorconfig/editorconfig-core-c.git', :branch => 'master'
  def install
    system "cmake", ".", "-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}"
    system "make install"
  end
  test do
    system "#{bin}/editorconfig", "--version"
  end
end
  |