2017-01-30 14:55:17 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# git-crypt
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-06-22 21:40:41 +02:00
|
|
|
GIT_CRYPT_VERSION = 0.7.0
|
2017-01-30 14:55:17 +01:00
|
|
|
GIT_CRYPT_SITE = https://www.agwa.name/projects/git-crypt/downloads
|
|
|
|
GIT_CRYPT_DEPENDENCIES = host-pkgconf openssl
|
2017-03-30 15:43:33 +02:00
|
|
|
GIT_CRYPT_LICENSE = GPL-3.0+, MIT
|
2017-01-30 14:55:17 +01:00
|
|
|
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) \
|
2018-08-20 21:40:56 +02:00
|
|
|
LDFLAGS="$(TARGET_LDFLAGS) $(GIT_CRYPT_LIBS)" \
|
2023-07-16 13:01:24 +02:00
|
|
|
CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11 -DOPENSSL_API_COMPAT=0x30000000L" \
|
|
|
|
PREFIX=/usr
|
2017-01-30 14:55:17 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define GIT_CRYPT_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) \
|
|
|
|
PREFIX=/usr install
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|