homebrew-core/Formula/isync.rb

25 lines
598 B
Ruby

require 'formula'
class Isync < Formula
homepage 'http://isync.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/isync/isync/1.0.6/isync-1.0.6.tar.gz'
sha1 '5cd7403722584b9677fc6a4185c0b9a00f153453'
head do
url 'git://isync.git.sourceforge.net/gitroot/isync/isync'
depends_on :autoconf
depends_on :automake
end
depends_on 'berkeley-db'
def install
system "touch", "ChangeLog" if build.head?
system "./autogen.sh" if build.head?
system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking'
system "make install"
end
end