Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
Add pkg-config file ( Bastien Nocera )
Browse files Browse the repository at this point in the history
  • Loading branch information
borisz committed Feb 19, 2013
1 parent 84b1f39 commit 09060b7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
( Boris Zentner )
* Use configure.ac instead of configure.in ( Boris Zentner )
* Region lookup is a bit faster ( Boris Zentner )
* Add pkg-config file ( Bastien Nocera )
* Updates required to build a Windows DLL under MinGW ( Gerald Combs )
* Make API thread safe ( Boris Zentner )
* geoiplookup's default charset is UTF8
Expand Down
5 changes: 4 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ SUBDIRS = \
test \
man

EXTRA_DIST = README.OSX READMEwin32static.txt README.MinGW READMEwin32.txt GeoIPWinDLL.patch TODO bootstrap GeoIP.spec GeoIP.spec.in Makefile.netware Makefile.vc Makefile.win32 get_ver.awk geoip.ico
pkgconfigdir = $(libdir)/pkgconfig/
nodist_pkgconfig_DATA = geoip.pc

EXTRA_DIST = README.OSX READMEwin32static.txt README.MinGW READMEwin32.txt GeoIPWinDLL.patch TODO bootstrap GeoIP.spec GeoIP.spec.in Makefile.netware Makefile.vc Makefile.win32 get_ver.awk geoip.ico geoip.pc.in
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ AS_IF([test "x$enable_data_files" != xno],
AC_OUTPUT([
Makefile
GeoIP.spec
geoip.pc
libGeoIP/Makefile
apps/Makefile
conf/Makefile
Expand Down
11 changes: 11 additions & 0 deletions geoip.pc.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
prefix=@prefix@
libdir=@libdir@
includedir=@includedir@
datadir=@datarootdir@

Name: geoip
Description: A non-DNS IP-to-country resolver library.
Version: @VERSION@
Libs: -L${libdir} -lGeoIP
Cflags: -I${includedir}/
databasedir=${datadir}/GeoIP

0 comments on commit 09060b7

Please sign in to comment.