2010-08-29 19:06:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Isync < Formula
|
2010-08-29 19:06:49 +00:00
|
|
|
homepage 'http://isync.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/isync/isync/1.1.0/isync-1.1.0.tar.gz'
|
2013-12-22 14:01:45 +00:00
|
|
|
sha1 'd99bd9603e17f94ebe4af1691482a6676ea0fb42'
|
2010-08-29 19:06:49 +00:00
|
|
|
|
2013-09-20 15:15:57 +00:00
|
|
|
head do
|
2013-12-07 23:50:48 +00:00
|
|
|
url 'git://git.code.sf.net/p/isync/isync'
|
2012-10-02 19:55:28 +00:00
|
|
|
|
|
|
|
depends_on :autoconf
|
|
|
|
depends_on :automake
|
|
|
|
end
|
|
|
|
|
2013-09-20 15:15:57 +00:00
|
|
|
depends_on 'berkeley-db'
|
|
|
|
|
2010-08-29 19:06:49 +00:00
|
|
|
def install
|
2012-10-02 19:55:28 +00:00
|
|
|
system "touch", "ChangeLog" if build.head?
|
|
|
|
system "./autogen.sh" if build.head?
|
|
|
|
|
2012-06-16 11:26:28 +00:00
|
|
|
system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking'
|
2010-08-29 19:06:49 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|