aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTim Heckman2013-11-17 21:19:54 -0800
committerAdam Vandenberg2013-11-20 20:54:15 -0800
commitff1a1c9627fa9d5d7bd3e6c01e599d836f86f156 (patch)
tree92f33f5eb83e626a9cf80541141584773abf5645 /Library
parent2ff14dd482a5dd8ea4c4b8eba9e99bc4369d2054 (diff)
downloadhomebrew-ff1a1c9627fa9d5d7bd3e6c01e599d836f86f156.tar.bz2
fwknop 2.5.1-1
Closes #24419. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fwknop.rb18
1 files changed, 10 insertions, 8 deletions
diff --git a/Library/Formula/fwknop.rb b/Library/Formula/fwknop.rb
index a625ed57f..91c23979c 100644
--- a/Library/Formula/fwknop.rb
+++ b/Library/Formula/fwknop.rb
@@ -2,20 +2,22 @@ require 'formula'
class Fwknop < Formula
homepage 'http://www.cipherdyne.org/fwknop/'
- url 'http://www.cipherdyne.org/fwknop/download/fwknop-2.5.1.tar.bz2'
- sha1 '65bed25e9d7f4a7ccc3f15cab35b95a6f7b21873'
+ url 'https://github.com/mrash/fwknop/archive/2.5.1-1.tar.gz'
+ sha1 '3f6c43b91ab555d7652b81c16bccfc8049eb0f92'
- head do
- url 'https://github.com/mrash/fwknop.git'
- depends_on :automake
- depends_on :autoconf
- end
+ head 'https://github.com/mrash/fwknop.git'
+
+ # needed for running autogen.sh script in GitHub release tarball
+ # as well as when building from HEAD
+ depends_on :automake
+ depends_on :autoconf
+ depends_on :libtool
# needed for gpg support
depends_on 'gpgme' => :optional
def install
- system './autogen.sh' if build.head?
+ system './autogen.sh' if build.head? or !File.exists?('configure')
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"