337aa51f3f
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
780 B
Makefile
26 lines
780 B
Makefile
################################################################################
|
|
#
|
|
# 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 = 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)" 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))
|