public
Description: ruby binding to maxmind geoip library
Homepage: http://geoip-city.rubyforge.org
Clone URL: git://github.com/ry/geoip-city.git
Ryan Dahl (author)
Tue Mar 04 15:10:33 -0800 2008
commit  45255461f65d5980a7f3fb5886dadff4a667ea7c
tree    5101c34d7d74b14251132742d5c5f63bea0c06fc
parent  94e8ce6f3da3a23f2a9e35102e7e797276b7e54c
geoip-city / extconf.rb
100644 10 lines (7 sloc) 0.211 kb
1
2
3
4
5
6
7
8
9
10
require 'mkmf'
 
dir_config("geoip")
 
if have_library('GeoIP', 'GeoIP_record_by_ipnum') and have_header('GeoIPCity.h')
  create_makefile('geoip_city')
else
  abort("you must have geoip c library installed!")
end