kumquat-buildroot/package/git-crypt/git-crypt.mk
Fabrice Fontaine aca69596a8 package/git-crypt: bump to version 0.7.0
Update indentation in hash file (two spaces)

https://github.com/AGWA/git-crypt/blob/0.7.0/NEWS.md

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-06-25 08:43:34 +02:00

27 lines
825 B
Makefile

################################################################################
#
# git-crypt
#
################################################################################
GIT_CRYPT_VERSION = 0.7.0
GIT_CRYPT_SITE = https://www.agwa.name/projects/git-crypt/downloads
GIT_CRYPT_DEPENDENCIES = host-pkgconf openssl
GIT_CRYPT_LICENSE = GPL-3.0+, MIT
GIT_CRYPT_LICENSE_FILES = COPYING parse_options.hpp
GIT_CRYPT_LIBS = `$(PKG_CONFIG_HOST_BINARY) --libs openssl`
define GIT_CRYPT_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
LDFLAGS="$(TARGET_LDFLAGS) $(GIT_CRYPT_LIBS)" \
CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" PREFIX=/usr
endef
define GIT_CRYPT_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) \
PREFIX=/usr install
endef
$(eval $(generic-package))