1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
8 PKG_SOURCE_URL
:=https
://codeload.github.com
/go-delve
/delve
/tar.gz
/v
$(PKG_VERSION
)?
9 PKG_HASH
:=c2eb068d5677e114286b38f57f784b3792dbd2db06743bb57217611a092b31f2
12 PKG_LICENSE_FILES
:=LICENSE
13 PKG_MAINTAINER
:=Niels Widger
<niels@qacafe.com
>
15 PKG_BUILD_DEPENDS
:=golang
/host
19 GO_PKG
:=github.com
/go-delve
/delve
/
20 GO_PKG_BUILD_PKG
:=github.com
/go-delve
/delve
/cmd
/dlv
/
21 GO_PKG_LDFLAGS_X
:=main.Build
=$(PKG_VERSION
)
23 include $(INCLUDE_DIR
)/package.mk
24 include ..
/..
/lang
/golang
/golang-package.mk
26 # this is a subset of $(GO_ARCH_DEPENDS) as delve does not support all
27 # architectures, see build constraints in
28 # https://github.com/go-delve/delve/blob/v$(PKG_VERSION)/pkg/proc/native/support_sentinel.go
29 DELVE_GO_ARCH_DEPENDS
:=@
(aarch64||i386||x86_64
)
34 TITLE
:=Debugger for the Go programming language
35 URL
:=https
://github.com
/go-delve
/delve
36 DEPENDS
:=$(DELVE_GO_ARCH_DEPENDS
)
39 define Package
/delve
/description
40 Delve is a debugger for the Go programming language. The goal of the
41 project is to provide a simple
, full featured debugging tool for Go.
42 Delve should be easy to invoke and easy to use. Chances are if you
're
43 using a debugger, things aren't going your way. With that in mind
,
44 Delve should stay out of your way
as much
as possible.
47 $(eval
$(call GoBinPackage
,delve
))
48 $(eval
$(call BuildPackage
,delve
))