bsd-headers.bb 886 B

12345678910111213141516171819202122232425262728293031
  1. # Copyright (C) 2016 Khem Raj <raj.khem@gmail.com>
  2. # Released under the MIT license (see COPYING.MIT for the terms)
  3. SUMMARY = "BSD compatible headers"
  4. LICENSE = "BSD-3-Clause & BSD-2-Clause"
  5. LIC_FILES_CHKSUM = "file://sys-queue.h;beginline=1;endline=32;md5=c6352b0f03bb448600456547d334b56f"
  6. SECTION = "devel"
  7. SRC_URI = "file://sys-queue.h \
  8. file://sys-tree.h \
  9. file://sys-cdefs.h \
  10. "
  11. do_configure[noexec] = "1"
  12. do_compile[noexec] = "1"
  13. INHIBIT_DEFAULT_DEPS = "1"
  14. S = "${UNPACKDIR}"
  15. do_install() {
  16. install -Dm 0644 ${S}/sys-queue.h ${D}${includedir}/sys/queue.h
  17. install -Dm 0644 ${S}/sys-tree.h ${D}${includedir}/sys/tree.h
  18. install -Dm 0644 ${S}/sys-cdefs.h ${D}${includedir}/sys/cdefs.h
  19. }
  20. #
  21. # We will skip parsing for non-musl systems
  22. #
  23. COMPATIBLE_HOST = ".*-musl.*"
  24. DEV_PKG_DEPENDENCY = ""
  25. RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"