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/'
|
2012-06-16 11:26:28 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/isync/isync/1.0.5/isync-1.0.5.tar.gz'
|
|
|
|
sha1 '9d19cde13b644d6e394f06d292b60503396d0500'
|
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
|