dmidecode_3.1.bb 875 B

123456789101112131415161718192021222324252627
  1. SUMMARY = "DMI (Desktop Management Interface) table related utilities"
  2. HOMEPAGE = "http://www.nongnu.org/dmidecode/"
  3. LICENSE = "GPLv2"
  4. LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
  5. SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/dmidecode/${BP}.tar.xz"
  6. COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|powerpc|powerpc64).*-linux"
  7. EXTRA_OEMAKE = "-e MAKEFLAGS="
  8. # The upstream buildsystem uses 'docdir' as the path where it puts AUTHORS,
  9. # README, etc, but we don't want those in the root of our docdir.
  10. docdir .= "/${BPN}"
  11. do_install() {
  12. oe_runmake DESTDIR="${D}" install
  13. }
  14. do_unpack_extra() {
  15. sed -i -e '/^prefix/s:/usr/local:${exec_prefix}:' ${S}/Makefile
  16. }
  17. addtask unpack_extra after do_unpack before do_patch
  18. SRC_URI[md5sum] = "679c2c015c515aa6ca5f229aee49c102"
  19. SRC_URI[sha256sum] = "d766ce9b25548c59b1e7e930505b4cad9a7bb0b904a1a391fbb604d529781ac0"