gperf_3.1.bb 944 B

12345678910111213141516171819202122
  1. DESCRIPTION = "GNU gperf is a perfect hash function generator"
  2. HOMEPAGE = "http://www.gnu.org/software/gperf"
  3. SUMMARY = "Generate a perfect hash function from a set of keywords"
  4. LICENSE = "GPL-3.0-or-later"
  5. LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
  6. file://src/main.cc;beginline=8;endline=19;md5=dec8f611845d047387ed56b5b85fa99b"
  7. SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
  8. file://0001-Make-the-code-C-17-compliant.patch"
  9. SRC_URI[sha256sum] = "588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2"
  10. SRC_URI += "file://1862c6e57a308a05889c80c048dbc58bdc378dcb.patch"
  11. inherit autotools
  12. # The nested configures don't find the parent aclocal.m4 out of the box, so tell
  13. # it where to look explicitly (mirroring the behaviour of upstream's Makefile.devel).
  14. EXTRA_AUTORECONF += " -I ${S} --exclude=aclocal"
  15. CFLAGS += "-std=gnu17"
  16. BBCLASSEXTEND = "native nativesdk"