Files
shredos.x86_64/package/smartdmt/smartdmt.mk
2026-02-17 13:39:15 +01:00

24 lines
644 B
Makefile

################################################################################
#
# smartdmt
#
################################################################################
SMARTDMT_VERSION = $(call qstrip,$(BR2_PACKAGE_SMARTDMT_GIT_REVISION))
SMARTDMT_SITE = https://github.com/desertwitch/smartdmt.git
SMARTDMT_SITE_METHOD = git
SMARTDMT_LICENSE = MIT
SMARTDMT_LICENSE_FILES = LICENSE
SMARTDMT_GOMOD = github.com/desertwitch/smartdmt
SMARTDMT_GO_ENV = CGO_ENABLED=0
SMARTDMT_LDFLAGS = \
-X main.Version=$(shell echo $(SMARTDMT_VERSION) | sed 's/^v//' | cut -c1-7)
SMARTDMT_BUILD_TARGETS = ./cmd/smartdmt
$(eval $(golang-package))