dep: set correct version information in final binary
closes #10470 closes #9727
This commit is contained in:
parent
f98f2bf797
commit
2daea83737
|
@ -1,17 +1,18 @@
|
|||
# Template file for 'dep'
|
||||
pkgname=dep
|
||||
version=0.5.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=go
|
||||
go_import_path=github.com/golang/dep
|
||||
go_package="${go_import_path}/cmd/dep"
|
||||
go_ldflags="-X main.version=v${version}"
|
||||
hostmakedepends="git"
|
||||
depends="git go"
|
||||
short_desc="Go dependency management tool"
|
||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||
license="Apache"
|
||||
go_import_path="github.com/golang/dep"
|
||||
go_package="$go_import_path/cmd/dep"
|
||||
homepage="https://$go_import_path"
|
||||
distfiles="$homepage/archive/v$version.tar.gz"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://${go_import_path}"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=720752ee3a089a8c6ee6a8ebecc7c70881bf2d994d3183d192a588398484b8d4
|
||||
|
||||
pre_build() {
|
||||
|
|
Loading…
Reference in New Issue