Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: MIT |
| 2 | # Copyright (C) 2021 iris-GmbH infrared & intelligent sensors |
| 3 | |
| 4 | SUMMARY = "Tool for managing many Git repositories" |
| 5 | DESCRIPTION = "Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow." |
| 6 | HOMEPAGE = "https://android.googlesource.com/tools/repo" |
| 7 | SECTION = "console/utils" |
| 8 | |
| 9 | LICENSE = "Apache-2.0" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 11 | |
| 12 | SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main \ |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 13 | " |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 14 | SRCREV = "5554572f02537b8646139d59ab520e59e1d5f7b3" |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 15 | |
| 16 | MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git" |
| 17 | |
| 18 | S = "${WORKDIR}/git" |
| 19 | |
| 20 | do_configure:prepend() { |
| 21 | sed -Ei "s/REPO_REV\s*=\s*('|\")stable('|\")/REPO_REV = '${SRCREV}'/g" ${S}/repo |
| 22 | } |
| 23 | |
| 24 | do_install() { |
| 25 | install -D ${WORKDIR}/git/repo ${D}${bindir}/repo |
| 26 | } |
| 27 | |
| 28 | RDEPENDS:${PN} = "python3 git" |
| 29 | |
| 30 | BBCLASSEXTEND = "native nativesdk" |