blob: f592f270d872011073550a8e29a8858ca79ec7ed (
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
  | 
require "formula"
class Isync < Formula
  homepage "http://isync.sourceforge.net/"
  url "https://downloads.sourceforge.net/project/isync/isync/1.1.1/isync-1.1.1.tar.gz"
  sha1 "be759ff7e7e141b91fc242284ddeb256d54a5567"
  head do
    url "git://git.code.sf.net/p/isync/isync"
    depends_on "autoconf" => :build
    depends_on "automake" => :build
  end
  depends_on "berkeley-db"
  def install
    if build.head?
      touch "ChangeLog"
      system "./autogen.sh"
    end
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make install"
  end
end
  |