homebrew-core/Formula/isync.rb

25 lines
583 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Isync < Formula
homepage 'http://isync.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/isync/isync/1.1.0/isync-1.1.0.tar.gz'
sha1 'd99bd9603e17f94ebe4af1691482a6676ea0fb42'
2013-09-20 15:15:57 +00:00
head do
url 'git://git.code.sf.net/p/isync/isync'
depends_on :autoconf
depends_on :automake
end
2013-09-20 15:15:57 +00:00
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