Skip to content

monkeber/conan-libmaxminddb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Conan package for libmaxminddb. The libmaxminddb library provides a C library for reading MaxMind DB files, including the GeoIP2 databases from MaxMind.

Package Status

Bintray Linux
Download Build Status

Basic setup

$ conan install maxminddb/1.3.2@monkeber/stable

Project setup

from conans import ConanFile, CMake

class AppConan(ConanFile):
    settings = "os", "compiler", "build_type", "arch"

    requires = "maxminddb/1.3.2@monkeber/stable"

    default_options = "maxminddb:shared=False"

    generators = "cmake"

Complete the installation of requirements for your project running:

conan install .

Project setup installs the libraries (with all needed dependencies) and generates the files conanbuildinfo.txt and conanbuildinfo.cmake with all the paths and variables that you need to link with your dependencies.

Follow the Conan getting started: http://docs.conan.io.

Publish The Package

The example below shows the commands used to publish to conan repository.

Add Remote

$ conan remote add monkeber https://api.bintray.com/conan/monkeber/monkeber 

Build

Builds a binary package for recipe (conanfile.py) located in current dir. For more info please check conan create.

$ conan create . monkeber/stable

Upload

Uploads a recipe and binary packages to a remote. For more info please check conan upload.

$ conan upload maxminddb/1.3.2@monkeber/stable --all -r monkeber

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published