New package: geoip-1.4.8

This commit is contained in:
davehome 2011-12-21 07:26:53 -07:00
parent 2a5df185c6
commit 38e96ae8f2
9 changed files with 65 additions and 0 deletions

View File

@ -927,3 +927,5 @@ libisofs.so.6 libisofs libisofs-devel
libbfd-2.22.so binutils binutils-devel
libopcodes-2.22.so binutils binutils-devel
libv8.so libv8 v8-devel
libGeoIP.so.1 libgeoip geoip-devel
libGeoIPUpdate.so.0 libgeoip geoip-devel

1
srcpkgs/geoip-devel Symbolic link
View File

@ -0,0 +1 @@
geoip

2
srcpkgs/geoip/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=1.4.8"
api_depends="${abi_depends}"

View File

@ -0,0 +1,15 @@
# Template file for 'geoip-devel'.
#
short_desc="${short_desc} (Development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run zlib-devel
Add_dependency run libgeoip
do_install()
{
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
}

View File

@ -0,0 +1,3 @@
libc.so.6
libGeoIP.so.1
libGeoIPUpdate.so.0

View File

@ -0,0 +1,2 @@
libc.so.6
libz.so.1

View File

@ -0,0 +1,15 @@
# Template file for 'libgeoip'.
#
revision=1
short_desc="${short_desc} (Runtime library)"
long_desc="${long_desc}
This package contains the JACK runtime lib(s)."
do_install()
{
vmove "usr/lib/*.so*" usr/lib
vmove usr/share/GeoIP usr/share
}

24
srcpkgs/geoip/template Normal file
View File

@ -0,0 +1,24 @@
# Template file for 'geoip'
pkgname=geoip
version=1.4.8
distfiles="http://geolite.maxmind.com/download/${pkgname}/api/c/GeoIP-${version}.tar.gz"
build_style=gnu-configure
configure_args="--mandir=/usr/share/man --sysconfdir=/etc/geoip"
short_desc="Non-DNS IP-to-country resolver C library and utilities"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.maxmind.com/app/c"
license="GPL-2"
checksum=cf0f6b2bac1153e34d6ef55ee3851479b347d2b5c191fda8ff6a51fab5291ff4
long_desc="
GeoIP is the proprietary technology that drives MaxMind's IP geolocation data
and services. GeoIP provides businesses with a non-invasive way to determine
geographical and other information about their Internet visitors in
real-time."
subpackages="lib${pkgname} ${pkgname}-devel"
conf_files="/etc/geoip/GeoIP.conf"
wrksrc="GeoIP-${version}"
Add_dependency build zlib-devel

1
srcpkgs/libgeoip Symbolic link
View File

@ -0,0 +1 @@
geoip