xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/setserial/setserial_2.17.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Controls the configuration of serial ports"
2*4882a593SmuzhiyunDESCRIPTION = "setserial is a program designed to set and/or report the configuration information associated with a serial port"
3*4882a593SmuzhiyunHOMEPAGE = "http://setserial.sourceforge.net"
4*4882a593SmuzhiyunAUTHOR = "Theodore Ts'o <tytso@mit.edu>"
5*4882a593SmuzhiyunSECTION = "console/utils"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://version.h;beginline=1;endline=6;md5=2e7c59cb9e57e356ae81f50f4e4dfd99"
9*4882a593SmuzhiyunPR = "r3"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunDEPENDS += "groff-native"
12*4882a593Smuzhiyun
13*4882a593Smuzhiyuninherit autotools-brokensep
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunSRC_URI = "${SOURCEFORGE_MIRROR}/setserial/${BPN}-${PV}.tar.gz \
16*4882a593Smuzhiyun           file://add_stdlib.patch \
17*4882a593Smuzhiyun           file://ldflags.patch \
18*4882a593Smuzhiyun          "
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunSRC_URI[md5sum] = "c4867d72c41564318e0107745eb7a0f2"
21*4882a593SmuzhiyunSRC_URI[sha256sum] = "7e4487d320ac31558563424189435d396ddf77953bb23111a17a3d1487b5794a"
22*4882a593Smuzhiyun
23*4882a593Smuzhiyundo_install() {
24*4882a593Smuzhiyun    install -d ${D}${bindir}
25*4882a593Smuzhiyun    install -d ${D}${mandir}/man8
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun    install -m 0755 ${S}/setserial   ${D}${bindir}
28*4882a593Smuzhiyun    install -m 0644 ${S}/setserial.8 ${D}${mandir}/man8
29*4882a593Smuzhiyun}
30