Skip to content

Morphux/libmpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


      Coverity Scan Build Status   Codecov

Morphux/libmpm

Morphux C Package Management Library

InstallTestUseDocumentation

Install

Clone the repository

git clone https://github.com/Morphux/libmpm.git

Init

make init

Compile

By default, the Makefile will create a ready-to-use library, containing the following:

  • libmpm
  • libcurl
  • json
  • sqlite
  • libconfuse

The result is roughly ~20MB

make

If you want to compile just the libmpm library:

make single

Single lib is about 74Ko

Test

valgrind

Basic Tests

make check

Memory Tests

make -C tests valgrind

Coverage

make coverage

Use

Compile with the following options

gcc [...] -Llibmpm/ -lmpm -pthread -ldl -Ilibmpm/inc 

Of course, libmpm directory must exist.

In code:

#include <libmpm.h>

Documentation

Dependencies

doxygen

Generate it:

make doc

About

Morphux C Package Management Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages