| 1 |
[manifest] |
| 2 |
name = libgit2 |
| 3 |
|
| 4 |
[homebrew] |
| 5 |
libgit2 |
| 6 |
|
| 7 |
[rpms] |
| 8 |
libgit2-devel |
| 9 |
|
| 10 |
# Ubuntu 18.04 libgit2 has clash with libcurl4-openssl-dev as it depends on |
| 11 |
# libcurl4-gnutls-dev. Should be ok from 20.04 again |
| 12 |
# There is a description at https://github.com/r-hub/sysreqsdb/issues/77 |
| 13 |
[debs.not(all(distro=ubuntu,distro_vers="18.04"))] |
| 14 |
libgit2-dev |
| 15 |
|
| 16 |
[download] |
| 17 |
url = https://github.com/libgit2/libgit2/archive/v0.28.1.tar.gz |
| 18 |
sha256 = 0ca11048795b0d6338f2e57717370208c2c97ad66c6d5eac0c97a8827d13936b |
| 19 |
|
| 20 |
[build] |
| 21 |
builder = cmake |
| 22 |
subdir = libgit2-0.28.1 |
| 23 |
|
| 24 |
[cmake.defines] |
| 25 |
# Could turn this on if we also wanted to add a manifest for libssh2 |
| 26 |
USE_SSH = OFF |
| 27 |
BUILD_CLAR = OFF |
| 28 |
# Have to build shared to work around annoying problems with cmake |
| 29 |
# mis-parsing the frameworks required to link this on macos :-/ |
| 30 |
BUILD_SHARED_LIBS = ON |