aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-25 19:14:15 -0700
committerAdam Vandenberg2010-06-25 19:14:15 -0700
commit35eed61ca54c6dae67e7f98c38b715c74da73bc8 (patch)
tree833b01906a7c839235e09cefb6a30bc764b3ccec /Library/Formula
parentd6f608c23e0dfce9403257da77d02cba8ee5a1ec (diff)
downloadhomebrew-35eed61ca54c6dae67e7f98c38b715c74da73bc8.tar.bz2
Update gpsbabel to 1.4.0
* Also use HTTP POST and send the token value.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gpsbabel.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/gpsbabel.rb b/Library/Formula/gpsbabel.rb
index 9ed94f0f6..eaa4a6714 100644
--- a/Library/Formula/gpsbabel.rb
+++ b/Library/Formula/gpsbabel.rb
@@ -1,13 +1,17 @@
require 'formula'
class Gpsbabel <Formula
- url 'http://www.gpsbabel.org/plan9.php?dl=gpsbabel-1.3.6.tar.gz'
+ url 'http://www.gpsbabel.org/plan9.php?token=e3947850&dl=gpsbabel-1.4.0.tar.gz'
homepage 'http://www.gpsbabel.org'
- md5 '1571b31f8f06f722995449dbff01ca49'
+ md5 'c3f76c9e7582c2ec3a24e34e5346d8f9'
depends_on 'libusb'
depends_on 'expat'
+ def download_strategy
+ CurlPostDownloadStrategy
+ end
+
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"