homebrew-core/Formula/isync.rb
Gregory Pakosz 933eae4f48 isync: add HEAD
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-10-24 15:09:02 -05:00

24 lines
604 B
Ruby

require 'formula'
class Isync < Formula
homepage 'http://isync.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/isync/isync/1.0.5/isync-1.0.5.tar.gz'
sha1 '9d19cde13b644d6e394f06d292b60503396d0500'
head 'git://isync.git.sourceforge.net/gitroot/isync/isync'
depends_on 'berkeley-db'
if build.head?
depends_on :autoconf
depends_on :automake
end
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