perform tilde expansion for dir: clauses. Closes issue #177

This commit is contained in:
Jean-Francois Dockes
2014-03-10 10:14:04 +01:00
parent 5676f020ca
commit 303321e568
3 changed files with 26 additions and 11 deletions
+19 -3
View File
@@ -2,12 +2,14 @@ require 'formula'
class Recoll < Formula
homepage 'http://www.recoll.org'
url 'http://www.recoll.org/recoll-1.19.9.tar.gz'
sha1 'ab662057082eb889b196653c328440ed95bf9ac4'
url 'http://www.recoll.org/recoll-1.19.11p1.tar.gz'
sha1 'f4259c21faff9f30882d0bf1e8f952c19ed9936b'
depends_on 'xapian'
depends_on 'qt'
def patches
DATA
end
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
@@ -17,3 +19,17 @@ class Recoll < Formula
system "#{bin}/recollindex", "-h"
end
end
__END__
--- a/configure.orig 2014-01-07 12:39:40.606718201 +0100
+++ b/configure 2014-01-07 12:39:58.574599715 +0100
@@ -5120,7 +5120,7 @@
# basically to enable using a Macbook for development
if test X$sys = XDarwin ; then
# The default is xcode
- QMAKE="${QMAKE} -spec macx-g++"
+ QMAKE="${QMAKE}"
fi
# Discriminate qt3/4. Qt3 qmake prints its version on stderr but we don't