mxe/src/libgit2.mk

17 lines
645 B
Makefile
Raw Normal View History

# This file is part of MXE. See LICENSE.md for licensing information.
2015-09-06 02:22:18 +01:00
PKG := libgit2
$(PKG)_WEBSITE := https://libgit2.github.com/
2015-09-06 02:22:18 +01:00
$(PKG)_IGNORE :=
2019-05-21 19:39:40 +01:00
$(PKG)_VERSION := 0.28.2
$(PKG)_CHECKSUM := 42b5f1e9b9159d66d86fff0394215c5733b6ef8f9b9d054cdd8c73ad47177fc3
2018-03-15 03:07:18 +00:00
$(PKG)_GH_CONF := libgit2/libgit2/releases/latest,v
$(PKG)_DEPS := cc libssh2
2015-09-06 02:22:18 +01:00
define $(PKG)_BUILD
2018-03-15 03:07:18 +00:00
cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \
-DDLLTOOL='$(PREFIX)/bin/$(TARGET)-dlltool'
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' VERBOSE=1 || $(MAKE) -C '$(BUILD_DIR)' -j 1 VERBOSE=1
$(MAKE) -C '$(BUILD_DIR)' -j 1 install VERBOSE=1
2015-09-06 02:22:18 +01:00
endef