Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
openwrt-packages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Markus Gothe
openwrt-packages
Commits
51dd1c1f
Commit
51dd1c1f
authored
3 years ago
by
Niels Widger
Committed by
Hannu Nyman
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
delve: add package
Signed-off-by:
Niels Widger
<
niels@qacafe.com
>
parent
e81fa692
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
devel/delve/Makefile
+48
-0
48 additions, 0 deletions
devel/delve/Makefile
with
48 additions
and
0 deletions
devel/delve/Makefile
0 → 100644
+
48
−
0
View file @
51dd1c1f
include
$(TOPDIR)/rules.mk
PKG_NAME
:=
delve
PKG_VERSION
:=
1.6.1
PKG_RELEASE
:=
1
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
.tar.gz
PKG_SOURCE_URL
:=
https://codeload.github.com/go-delve/delve/tar.gz/v
$(
PKG_VERSION
)
?
PKG_HASH
:=
e73f7fc063632268d3bdf53486aeafd98cceb8f86f4af56903dedfebaefe690d
PKG_LICENSE
:=
MIT
PKG_LICENSE_FILES
:=
LICENSE
PKG_MAINTAINER
:=
Niels Widger <niels@qacafe.com>
PKG_BUILD_DEPENDS
:=
golang/host
PKG_BUILD_PARALLEL
:=
1
PKG_USE_MIPS16
:=
0
GO_PKG
:=
github.com/go-delve/delve/
GO_PKG_BUILD_PKG
:=
github.com/go-delve/delve/cmd/dlv/
GO_PKG_LDFLAGS_X
:=
main.Build
=
$(
PKG_VERSION
)
include
$(INCLUDE_DIR)/package.mk
include
../../lang/golang/golang-package.mk
# this is a subset of $(GO_ARCH_DEPENDS) as delve does not support all
# architectures, see build constraints in
# https://github.com/go-delve/delve/blob/v$(PKG_VERSION)/pkg/proc/native/support_sentinel.go
DELVE_GO_ARCH_DEPENDS
:=
@
(
aarch64||i386||x86_64
)
define
Package/delve
SECTION
:=
devel
CATEGORY
:=
Development
TITLE
:=
Debugger
for
the Go programming language
URL
:=
https://github.com/go-delve/delve
DEPENDS
:=
$(
DELVE_GO_ARCH_DEPENDS
)
endef
define
Package/delve/description
Delve
is
a
debugger
for
the
Go
programming
language.
The
goal
of
the
project
is
to
provide
a
simple,
full
featured
debugging
tool
for
Go.
Delve
should
be
easy
to
invoke
and
easy
to
use.
Chances
are
if
you
're
using a debugger, things aren'
t
going
your
way.
With
that
in
mind,
Delve
should
stay
out
of
your
way
as
much
as
possible.
endef
$(
eval
$(
call GoBinPackage,delve
))
$(
eval
$(
call BuildPackage,delve
))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment