summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/go
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/go')
-rw-r--r--recipes-devtools/go/go-build_git.bb2
-rw-r--r--recipes-devtools/go/go-cli_git.bb2
-rw-r--r--recipes-devtools/go/go-md2man_git.bb2
-rw-r--r--recipes-devtools/go/notary_git.bb41
4 files changed, 3 insertions, 44 deletions
diff --git a/recipes-devtools/go/go-build_git.bb b/recipes-devtools/go/go-build_git.bb
index 75ea40a8..c0253298 100644
--- a/recipes-devtools/go/go-build_git.bb
+++ b/recipes-devtools/go/go-build_git.bb
@@ -7,7 +7,7 @@ SRCREV_runc = "1e7bb5b773162b57333d57f612fd72e3f8612d94"
7 7
8SRCREV_FORMAT = "runx_runc" 8SRCREV_FORMAT = "runx_runc"
9SRC_URI = "\ 9SRC_URI = "\
10 git://github.com/lf-edge/runx;nobranch=1;name=runx;protocol=https \ 10 git://github.com/lf-edge/runx;nobranch=1;name=runx;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
11 git://github.com/opencontainers/runc;branch=release-1.1;name=runc;protocol=https;destsuffix=git/src/import/gobuild/go/src/github.com/opencontainers/runc \ 11 git://github.com/opencontainers/runc;branch=release-1.1;name=runc;protocol=https;destsuffix=git/src/import/gobuild/go/src/github.com/opencontainers/runc \
12 file://0001-build-use-instead-of-go.patch \ 12 file://0001-build-use-instead-of-go.patch \
13 " 13 "
diff --git a/recipes-devtools/go/go-cli_git.bb b/recipes-devtools/go/go-cli_git.bb
index 8a4992bd..37f65c33 100644
--- a/recipes-devtools/go/go-cli_git.bb
+++ b/recipes-devtools/go/go-cli_git.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ed9b539ed65d73926f30ff1f1587dc44"
7SRCNAME = "cli" 7SRCNAME = "cli"
8 8
9PKG_NAME = "github.com/codegangsta/${SRCNAME}" 9PKG_NAME = "github.com/codegangsta/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" 10SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
11 11
12SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e" 12SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e"
13PV = "1.1.0+git" 13PV = "1.1.0+git"
diff --git a/recipes-devtools/go/go-md2man_git.bb b/recipes-devtools/go/go-md2man_git.bb
index 1d96bb1b..73d8d167 100644
--- a/recipes-devtools/go/go-md2man_git.bb
+++ b/recipes-devtools/go/go-md2man_git.bb
@@ -9,7 +9,7 @@ BBCLASSEXTEND = "native"
9GO_IMPORT = "github.com/cpuguy83/go-md2man" 9GO_IMPORT = "github.com/cpuguy83/go-md2man"
10#GO_INSTALL = "${GO_IMPORT}/bin/go-md2man" 10#GO_INSTALL = "${GO_IMPORT}/bin/go-md2man"
11 11
12SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https" 12SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}"
13 13
14SRCREV = "f79a8a8ca69da163eee19ab442bedad7a35bba5a" 14SRCREV = "f79a8a8ca69da163eee19ab442bedad7a35bba5a"
15PV = "1.0.10+git" 15PV = "1.0.10+git"
diff --git a/recipes-devtools/go/notary_git.bb b/recipes-devtools/go/notary_git.bb
deleted file mode 100644
index ace7174d..00000000
--- a/recipes-devtools/go/notary_git.bb
+++ /dev/null
@@ -1,41 +0,0 @@
1DESCRIPTION = "Notary is a Docker project that allows anyone to have trust over arbitrary collections of data"
2HOMEPAGE = "https://github.com/docker/notary"
3SECTION = "devel/go"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=3596b980bb036e0875174ed15e4b982a"
6
7SRCNAME = "notary"
8
9PKG_NAME = "github.com/docker/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
11
12SRCREV = "d6e1431feb32348e0650bf7551ac5cffd01d857b"
13PV = "0.6.1+git"
14
15S = "${WORKDIR}/git"
16
17inherit meta-virt-depreciated-warning
18
19# NO-OP the do compile rule because this recipe is source only.
20do_compile() {
21}
22
23do_install() {
24 install -d ${D}${prefix}/local/go/src/${PKG_NAME}
25 for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
26 if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
27 mkdir -p ${D}${prefix}/local/go/$(dirname $j)
28 fi
29 cp $j ${D}${prefix}/local/go/$j
30 done
31 cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
32}
33
34SYSROOT_PREPROCESS_FUNCS += "go_notary_sysroot_preprocess"
35
36go_notary_sysroot_preprocess () {
37 install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
38 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
39}
40
41FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"