aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorptrv2013-07-14 12:46:08 +0200
committerJack Nagel2013-07-14 11:28:54 -0500
commitd3400feaf8666ef9bfb32e58f6f0fbf25c9a66e0 (patch)
treef5536b3c07439270cb491cdc1a34d0334ff8c259 /Library/Formula
parentf4242e5865a88c5b7cc802b51afc23702b601c86 (diff)
downloadhomebrew-d3400feaf8666ef9bfb32e58f6f0fbf25c9a66e0.tar.bz2
auctex: add HEAD
Closes #21202. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/auctex.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/auctex.rb b/Library/Formula/auctex.rb
index 29f0dfba8..2fd8ec0a1 100644
--- a/Library/Formula/auctex.rb
+++ b/Library/Formula/auctex.rb
@@ -6,8 +6,12 @@ class Auctex < Formula
mirror 'http://ftp.gnu.org/gnu/auctex/auctex-11.87.tar.gz'
sha1 '0be92c7d8f89d57346fe07f05a1a045ffd11cd71'
+ head 'git://git.savannah.gnu.org/auctex.git'
+
depends_on :tex
+ depends_on :autoconf if build.head?
+
def options
[['--with-emacs=</full/path/to/emacs>', "Force a different emacs"]]
end
@@ -27,6 +31,8 @@ class Auctex < Formula
brew_texmf = share + 'texmf'
brew_texmf.mkpath
+ system "./autogen.sh" if build.head?
+
system "./configure", "--prefix=#{prefix}",
"--with-texmf-dir=#{brew_texmf}",
"--with-emacs=#{which_emacs}",