summaryrefslogtreecommitdiff
path: root/packages/setserial/setserial_2.17.bb
blob: ad8ff603c2a2d97ac69ca19e0a57e9d244ce755b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "setserial is a program designed to set and/or \
report the configuration information associated with a serial port"
HOMEPAGE = "http://setserial.sourceforge.net"
AUTHOR = "Theodore Ts'o >tytso@mit.edu>"
SECTION = "console/utils"
LICENSE = "GPL"
FILE_PR = "r3"

inherit autotools

SRC_URI = "\
  ${SOURCEFORGE_MIRROR}/setserial/${PN}-${PV}.tar.gz \
  file://addflags.patch;patch=1 \
"

do_install() {
        install -d ${D}${bindir}
        install -d ${D}${mandir}/man8
        
        install -m 0755 ${S}/setserial   ${D}${bindir}
        install -m 0644 ${S}/setserial.8 ${D}${mandir}/man8
}