1################################################################################ 2# 3# host-mender-artifact 4# 5################################################################################ 6 7HOST_MENDER_ARTIFACT_VERSION = 3.6.1 8HOST_MENDER_ARTIFACT_SITE = $(call github,mendersoftware,mender-artifact,$(HOST_MENDER_ARTIFACT_VERSION)) 9HOST_MENDER_ARTIFACT_LICENSE = Apache2.0, BSD-2-Clause, BSD-3-Clause, ISC, MIT 10HOST_MENDER_ARTIFACT_LICENSE_FILES = \ 11 LICENSE \ 12 LIC_FILES_CHKSUM.sha256 \ 13 vendor/github.com/minio/sha256-simd/LICENSE \ 14 vendor/github.com/mendersoftware/progressbar/LICENSE \ 15 vendor/github.com/pkg/errors/LICENSE \ 16 vendor/github.com/pmezard/go-difflib/LICENSE \ 17 vendor/golang.org/x/sys/LICENSE \ 18 vendor/golang.org/x/crypto/LICENSE \ 19 vendor/github.com/remyoudompheng/go-liblzma/LICENSE \ 20 vendor/github.com/klauspost/compress/LICENSE \ 21 vendor/github.com/russross/blackfriday/v2/LICENSE.txt \ 22 vendor/github.com/davecgh/go-spew/LICENSE \ 23 vendor/github.com/stretchr/testify/LICENSE \ 24 vendor/github.com/urfave/cli/LICENSE \ 25 vendor/github.com/sirupsen/logrus/LICENSE \ 26 vendor/github.com/klauspost/pgzip/LICENSE \ 27 vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md \ 28 vendor/github.com/shurcooL/sanitized_anchor_name/LICENSE \ 29 vendor/gopkg.in/yaml.v3/LICENSE \ 30 vendor/github.com/mattn/go-isatty/LICENSE 31 32HOST_MENDER_ARTIFACT_DEPENDENCIES = host-xz 33 34# By default, go will attempt to download needed modules before building, which 35# is not desirable. This behavior also causes permission issues when cleaning, 36# as go downloads modules as read-only by default. Because mender-artifact 37# includes the modules in the vendor directory, mod=vendor prevents the package 38# from downloading the go modules during the build process and prevents 39# permission issues when cleaning. 40HOST_MENDER_ARTIFACT_GO_ENV = GOFLAGS="-mod=vendor" 41 42HOST_MENDER_ARTIFACT_LDFLAGS = -X github.com/mendersoftware/mender-artifact/cli.Version=$(HOST_MENDER_ARTIFACT_VERSION) 43 44HOST_MENDER_ARTIFACT_BIN_NAME = mender-artifact 45HOST_MENDER_ARTIFACT_INSTALL_BINS = $(HOST_MENDER_ARTIFACT_BIN_NAME) 46 47$(eval $(host-golang-package)) 48