blob: 1a4ef7341be9422de5898c24377bc17067953247 (
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
  | 
require "formula"
class Libunistring < Formula
  homepage "https://www.gnu.org/software/libunistring/"
  url "http://ftpmirror.gnu.org/libunistring/libunistring-0.9.4.tar.xz"
  mirror "ftp://ftp.gnu.org/gnu/libunistring/libunistring-0.9.4.tar.xz"
  sha1 "d77548d7a991452837decf3fa40cc985c7451735"
  bottle do
    cellar :any
    sha1 "bd04ffb1891146a22737513b3b854080042912eb" => :mavericks
    sha1 "e131611c0be53ad4e612ecd1ac605d684a3db3a7" => :mountain_lion
    sha1 "baddc77f72ff77534c7320a3ffef3f2639b2616b" => :lion
  end
  def install
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make"
    system "make", "check"
    system "make", "install"
  end
end
  |