setserial_2.17.bb 968 B

123456789101112131415161718192021222324252627
  1. SUMMARY = "Controls the configuration of serial ports"
  2. DESCRIPTION = "setserial is a program designed to set and/or report the configuration information associated with a serial port"
  3. HOMEPAGE = "http://setserial.sourceforge.net"
  4. SECTION = "console/utils"
  5. LICENSE = "GPL-2.0-only"
  6. LIC_FILES_CHKSUM = "file://version.h;beginline=1;endline=6;md5=2e7c59cb9e57e356ae81f50f4e4dfd99"
  7. DEPENDS += "groff-native"
  8. inherit autotools-brokensep sourceforge-releases
  9. SRC_URI = "${SOURCEFORGE_MIRROR}/setserial/${BPN}-${PV}.tar.gz \
  10. file://add_stdlib.patch \
  11. file://ldflags.patch \
  12. file://0001-setserial.c-Add-needed-system-headers-for-ioctl-and-.patch \
  13. "
  14. SRC_URI[sha256sum] = "7e4487d320ac31558563424189435d396ddf77953bb23111a17a3d1487b5794a"
  15. do_install() {
  16. install -d ${D}${bindir}
  17. install -d ${D}${mandir}/man8
  18. install -m 0755 ${S}/setserial ${D}${bindir}
  19. install -m 0644 ${S}/setserial.8 ${D}${mandir}/man8
  20. }