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/'
|
2013-03-21 14:28:38 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/isync/isync/1.0.6/isync-1.0.6.tar.gz'
|
|
|
|
sha1 '5cd7403722584b9677fc6a4185c0b9a00f153453'
|
2010-08-29 19:06:49 +00:00
|
|
|
|
2012-10-02 19:55:28 +00:00
|
|
|
head 'git://isync.git.sourceforge.net/gitroot/isync/isync'
|
|
|
|
|
2010-08-29 19:06:49 +00:00
|
|
|
depends_on 'berkeley-db'
|
|
|
|
|
2012-10-02 19:55:28 +00:00
|
|
|
if build.head?
|
|
|
|
depends_on :autoconf
|
|
|
|
depends_on :automake
|
|
|
|
end
|
|
|
|
|
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
|