summaryrefslogtreecommitdiff
path: root/packages/setserial/setserial_2.17.bb
blob: 0255a9f2b0b142d62fda78aad37ddab17edb9cf9 (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"
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
}