blob: 98ab45145ff456e6598d2427e5a0d016570528dc [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Controls the configuration of serial ports"
2DESCRIPTION = "setserial is a program designed to set and/or report the configuration information associated with a serial port"
3HOMEPAGE = "http://setserial.sourceforge.net"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05004SECTION = "console/utils"
5
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00006LICENSE = "GPL-2.0-only"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007LIC_FILES_CHKSUM = "file://version.h;beginline=1;endline=6;md5=2e7c59cb9e57e356ae81f50f4e4dfd99"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
9DEPENDS += "groff-native"
10
11inherit autotools-brokensep
12
13SRC_URI = "${SOURCEFORGE_MIRROR}/setserial/${BPN}-${PV}.tar.gz \
14 file://add_stdlib.patch \
15 file://ldflags.patch \
Patrick Williams92b42cb2022-09-03 06:53:57 -050016 file://0001-setserial.c-Add-needed-system-headers-for-ioctl-and-.patch \
17 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018
19SRC_URI[md5sum] = "c4867d72c41564318e0107745eb7a0f2"
20SRC_URI[sha256sum] = "7e4487d320ac31558563424189435d396ddf77953bb23111a17a3d1487b5794a"
21
22do_install() {
23 install -d ${D}${bindir}
24 install -d ${D}${mandir}/man8
25
26 install -m 0755 ${S}/setserial ${D}${bindir}
27 install -m 0644 ${S}/setserial.8 ${D}${mandir}/man8
28}