repo_2.54.bb 1.0 KB

123456789101112131415161718192021222324252627282930
  1. # SPDX-License-Identifier: MIT
  2. # Copyright (C) 2021 iris-GmbH infrared & intelligent sensors
  3. SUMMARY = "Tool for managing many Git repositories"
  4. 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."
  5. HOMEPAGE = "https://android.googlesource.com/tools/repo"
  6. SECTION = "console/utils"
  7. LICENSE = "Apache-2.0"
  8. LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
  9. SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main;tag=v${PV} \
  10. "
  11. SRCREV = "97dc5c1bd9527c2abe2183b16a4b7ef037dc34a7"
  12. MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git"
  13. S = "${WORKDIR}/git"
  14. do_configure:prepend() {
  15. sed -Ei "s/REPO_REV\s*=\s*('|\")stable('|\")/REPO_REV = '${SRCREV}'/g" ${S}/repo
  16. }
  17. do_install() {
  18. install -D ${S}/repo ${D}${bindir}/repo
  19. }
  20. RDEPENDS:${PN} = "python3 git"
  21. BBCLASSEXTEND = "native nativesdk"