diff options
Diffstat (limited to 'recipes-devtools/go')
-rw-r--r-- | recipes-devtools/go/go-build_git.bb | 2 | ||||
-rw-r--r-- | recipes-devtools/go/go-cli_git.bb | 2 | ||||
-rw-r--r-- | recipes-devtools/go/go-md2man_git.bb | 2 | ||||
-rw-r--r-- | recipes-devtools/go/notary_git.bb | 41 |
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 | ||
8 | SRCREV_FORMAT = "runx_runc" | 8 | SRCREV_FORMAT = "runx_runc" |
9 | SRC_URI = "\ | 9 | SRC_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" | |||
7 | SRCNAME = "cli" | 7 | SRCNAME = "cli" |
8 | 8 | ||
9 | PKG_NAME = "github.com/codegangsta/${SRCNAME}" | 9 | PKG_NAME = "github.com/codegangsta/${SRCNAME}" |
10 | SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" | 10 | SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https" |
11 | 11 | ||
12 | SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e" | 12 | SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e" |
13 | PV = "1.1.0+git" | 13 | PV = "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" | |||
9 | GO_IMPORT = "github.com/cpuguy83/go-md2man" | 9 | GO_IMPORT = "github.com/cpuguy83/go-md2man" |
10 | #GO_INSTALL = "${GO_IMPORT}/bin/go-md2man" | 10 | #GO_INSTALL = "${GO_IMPORT}/bin/go-md2man" |
11 | 11 | ||
12 | SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https" | 12 | SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}" |
13 | 13 | ||
14 | SRCREV = "f79a8a8ca69da163eee19ab442bedad7a35bba5a" | 14 | SRCREV = "f79a8a8ca69da163eee19ab442bedad7a35bba5a" |
15 | PV = "1.0.10+git" | 15 | PV = "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 @@ | |||
1 | DESCRIPTION = "Notary is a Docker project that allows anyone to have trust over arbitrary collections of data" | ||
2 | HOMEPAGE = "https://github.com/docker/notary" | ||
3 | SECTION = "devel/go" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=3596b980bb036e0875174ed15e4b982a" | ||
6 | |||
7 | SRCNAME = "notary" | ||
8 | |||
9 | PKG_NAME = "github.com/docker/${SRCNAME}" | ||
10 | SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" | ||
11 | |||
12 | SRCREV = "d6e1431feb32348e0650bf7551ac5cffd01d857b" | ||
13 | PV = "0.6.1+git" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit meta-virt-depreciated-warning | ||
18 | |||
19 | # NO-OP the do compile rule because this recipe is source only. | ||
20 | do_compile() { | ||
21 | } | ||
22 | |||
23 | do_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 | |||
34 | SYSROOT_PREPROCESS_FUNCS += "go_notary_sysroot_preprocess" | ||
35 | |||
36 | go_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 | |||
41 | FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" | ||