kumquat-buildroot/package/moby-buildkit/moby-buildkit.mk
Christian Stewart 4e33104c26 package/moby-buildkit: new package
Signed-off-by: Christian Stewart <christian@paral.in>
[Romain:
  - remove host-pkgconf dependency
  - Add the license file hash
  - Fix the check-package warning in Config.in]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-01-09 23:45:11 +01:00

23 lines
688 B
Makefile

################################################################################
#
# moby-buildkit
#
################################################################################
MOBY_BUILDKIT_VERSION = 0.8.1
MOBY_BUILDKIT_SITE = $(call github,moby,buildkit,v$(MOBY_BUILDKIT_VERSION))
MOBY_BUILDKIT_LICENSE = Apache-2.0
MOBY_BUILDKIT_LICENSE_FILES = LICENSE
MOBY_BUILDKIT_GOMOD = github.com/moby/buildkit
MOBY_BUILDKIT_TAGS = cgo
MOBY_BUILDKIT_BUILD_TARGETS = cmd/buildctl cmd/buildkitd
MOBY_BUILDKIT_LDFLAGS = \
-X $(MOBY_BUILDKIT_GOMOD)/version.Version="$(MOBY_BUILDKIT_VERSION)"
MOBY_BUILDKIT_INSTALL_BINS = $(notdir $(MOBY_BUILDKIT_BUILD_TARGETS))
$(eval $(golang-package))