Switch to unified view

a/packaging/homebrew/recoll.rb b/packaging/homebrew/recoll.rb
1
require 'formula'
1
require 'formula'
2
2
3
class Recoll < Formula
3
class Recoll < Formula
4
  homepage 'http://www.recoll.org'
4
  homepage 'http://www.recoll.org'
5
  url 'http://www.recoll.org/recoll-1.19.9.tar.gz'
5
  url 'http://www.recoll.org/recoll-1.19.11p1.tar.gz'
6
  sha1 'ab662057082eb889b196653c328440ed95bf9ac4'
6
  sha1 'f4259c21faff9f30882d0bf1e8f952c19ed9936b'
7
7
8
  depends_on 'xapian'
8
  depends_on 'xapian'
9
  depends_on 'qt'
9
  depends_on 'qt'
10
10
  def patches
11
   DATA 
12
  end
11
  def install
13
  def install
12
    system "./configure", "--prefix=#{prefix}"
14
    system "./configure", "--prefix=#{prefix}"
13
    system "make", "install"
15
    system "make", "install"
14
  end
16
  end
15
17
16
  test do
18
  test do
17
    system "#{bin}/recollindex", "-h"
19
    system "#{bin}/recollindex", "-h"
18
  end
20
  end
19
end
21
end
22
23
__END__
24
--- a/configure.orig  2014-01-07 12:39:40.606718201 +0100
25
 b/configure   2014-01-07 12:39:58.574599715 +0100
26
@@ -5120,7 +5120,7 @@
27
   # basically to enable using a Macbook for development
28
   if test X$sys = XDarwin ; then
29
      # The default is xcode
30
-     QMAKE="${QMAKE} -spec macx-g++"
31
     QMAKE="${QMAKE}"
32
   fi
33
34
   # Discriminate qt3/4. Qt3 qmake prints its version on stderr but we don't
35