diff options
author | Francesco Negri <francesconegri@gmail.com> | 2017-01-30 14:55:17 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-01-30 15:38:04 +0100 |
commit | 8c43f5fd37e2cb4298c042b07b1ba017ebcd9256 (patch) | |
tree | 69ff4eb43884289ccfda948db0fdf34038a832a9 /package/git-crypt/git-crypt.mk | |
parent | 4e43e7c53a8e17b218ef1b43f2036f9727871357 (diff) | |
download | buildroot-8c43f5fd37e2cb4298c042b07b1ba017ebcd9256.tar.gz buildroot-8c43f5fd37e2cb4298c042b07b1ba017ebcd9256.zip |
git-crypt: new package
[Peter: git is a runtime dependency, use pkg-config for openssl
dependencies, use make install]
Signed-off-by: Francesco Negri <francesconegri@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/git-crypt/git-crypt.mk')
-rw-r--r-- | package/git-crypt/git-crypt.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/package/git-crypt/git-crypt.mk b/package/git-crypt/git-crypt.mk new file mode 100644 index 0000000000..7785ddcfd9 --- /dev/null +++ b/package/git-crypt/git-crypt.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# git-crypt +# +################################################################################ + +GIT_CRYPT_VERSION = 0.5.0 +GIT_CRYPT_SITE = https://www.agwa.name/projects/git-crypt/downloads +GIT_CRYPT_DEPENDENCIES = host-pkgconf openssl +GIT_CRYPT_LICENSE = GPLv3+, 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)" 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)) |