docs: add Sibir as author
[netsniff-ng.git] / src / astraceroute / build_geoip.sh
blob1e7986d2541f5545322208dcd11c02d4ae61a185
1 #!/bin/sh
3 version=1.4.8
5 wget http://www.maxmind.com/download/geoip/api/c/GeoIP-$version.tar.gz
6 tar xvf GeoIP-$version.tar.gz
7 cd GeoIP-$version && ./configure --prefix=/usr/ && make && make check && make install
8 cp libGeoIP/GeoIPUpdate.h /usr/include/
9 cp libGeoIP/GeoIP.h /usr/include/
10 cp libGeoIP/GeoIPCity.h /usr/include/
11 ../../../scripts/geoip-database-update