time_1.9.bb 984 B

1234567891011121314151617181920212223242526272829
  1. SUMMARY = "Tool that measures CPU resources"
  2. DESCRIPTION = "time measures many of the CPU resources, such as time and \
  3. memory, that other programs use."
  4. HOMEPAGE = "http://www.gnu.org/software/time/"
  5. SECTION = "utils"
  6. LICENSE = "GPL-3.0-only"
  7. LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
  8. inherit texinfo update-alternatives
  9. ALTERNATIVE:${PN} = "time"
  10. ALTERNATIVE_PRIORITY = "100"
  11. BBCLASSEXTEND = "native nativesdk"
  12. SRC_URI = "${GNU_MIRROR}/time/time-${PV}.tar.gz \
  13. file://0001-include-string.h-for-memset.patch \
  14. file://time-1.9-Fix-compiling-with-GCC15.patch \
  15. file://0001-Fix-the-type-for-sighandler_t.patch \
  16. "
  17. SRC_URI[sha256sum] = "fbacf0c81e62429df3e33bda4cee38756604f18e01d977338e23306a3e3b521e"
  18. inherit autotools
  19. # Submitted fix: https://lists.gnu.org/archive/html/bug-time/2021-01/msg00000.html
  20. do_configure:prepend () {
  21. [ ! -e ${S}/.tarball-version ] && echo ${PV} > ${S}/.tarball-version
  22. }