config BR2_PACKAGE_LIBGIT2
	bool "libgit2"
	depends on !BR2_STATIC_LIBS # libhttpparser
	select BR2_PACKAGE_LIBHTTPPARSER
	select BR2_PACKAGE_ZLIB
	help
	  libgit2 is a portable, pure C implementation of the Git core
	  methods provided as a linkable library with a solid API,
	  allowing to build Git functionality into your application.

	  https://github.com/libgit2/libgit2

comment "libgit2 needs a toolchain w/ dynamic library"
	depends on BR2_STATIC_LIBS

if BR2_PACKAGE_LIBGIT2

config BR2_PACKAGE_LIBGIT2_CLI
	bool "enable command line interface (git2_cli)"
	help
	  Enable a command-line interface for libgit2.
	  It aims to be git-compatible.

endif
