aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libestr.rb
blob: c0e1d809a5be8d73ef3861c7e68717758705547f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Libestr < Formula
  homepage 'http://libestr.adiscon.com'
  url 'http://libestr.adiscon.com/files/download/libestr-0.1.8.tar.gz'
  sha256 'ce18565af57adc219799fe1659baaa70f58f169795882d770a7a2fe8ca8a6615'

  depends_on 'pkg-config' => :build

  option :universal

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make"
    system "make install"
  end
end