Skip to content

Commit

Permalink
geoipupdate 2.0.0
Browse files Browse the repository at this point in the history
The latest version of libgeoip no longer has this functionality. It鈥檚
been broken out into this seperate project.

Closes Homebrew/legacy-homebrew#24621.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
kogir authored and adamv committed Nov 24, 2013
1 parent 79e7330 commit 0427932
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Formula/geoipupdate.rb
@@ -0,0 +1,25 @@
require 'formula'

class Geoipupdate < Formula
homepage 'https://github.com/maxmind/geoipupdate'
url 'https://github.com/maxmind/geoipupdate/releases/download/v2.0.0/geoipupdate-2.0.0.tar.gz'
sha1 'd3c90ad9c9ad5974e8a5a30c504e7827978ddea7'
head 'https://github.com/maxmind/geoipupdate.git'

option :universal

def install
ENV.universal_binary if build.universal?

system "./bootstrap" if build.head?

system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end

test do
system "#{bin}/geoipupdate", "-V"
end
end

0 comments on commit 0427932

Please sign in to comment.