You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/libgit2.mk

17 lines
644 B

# This file is part of MXE. See LICENSE.md for licensing information.
PKG := libgit2
$(PKG)_WEBSITE := https://libgit2.github.com/
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.0.0
$(PKG)_CHECKSUM := 6a1fa16a7f6335ce8b2630fbdbb5e57c4027929ebc56fcd1ac55edb141b409b4
$(PKG)_GH_CONF := libgit2/libgit2/releases/latest,v
$(PKG)_DEPS := cc libssh2
define $(PKG)_BUILD
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
endef