################################################################################
#
# nerdctl
#
################################################################################

NERDCTL_VERSION = 0.17.1
NERDCTL_SITE = $(call github,containerd,nerdctl,v$(NERDCTL_VERSION))

NERDCTL_LICENSE = Apache-2.0
NERDCTL_LICENSE_FILES = LICENSE

NERDCTL_GOMOD = github.com/containerd/nerdctl

NERDCTL_LDFLAGS = \
	-X $(NERDCTL_GOMOD)/pkg/version.Version=$(NERDCTL_VERSION)

NERDCTL_BUILD_TARGETS = cmd/nerdctl

$(eval $(golang-package))
