summaryrefslogtreecommitdiff
path: root/packages/setserial
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-03-16 06:12:51 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-03-16 06:12:51 +0000
commit345e073f8c5aaf66a1cae9825369fba21178f1ef (patch)
tree041a808f6a2c3cc0d27a52a647c03ae88422059f /packages/setserial
parent0ce16eecead9c212e62bcfe561a2be35228e72f2 (diff)
setserial: add DESCRIPTION, HOMEPAGE, AUTHOR. fix packaging
Diffstat (limited to 'packages/setserial')
-rw-r--r--packages/setserial/setserial_2.17.bb18
1 files changed, 12 insertions, 6 deletions
diff --git a/packages/setserial/setserial_2.17.bb b/packages/setserial/setserial_2.17.bb
index 4646df818a..6b73eed0cf 100644
--- a/packages/setserial/setserial_2.17.bb
+++ b/packages/setserial/setserial_2.17.bb
@@ -1,12 +1,18 @@
+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"
-SRC_URI = "http://fresh.t-systems-sfr.com/linux/src/setserial-2.17.tar.gz"
LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
+
inherit autotools
+SRC_URI = "${SOURCEFORGE_MIRROR}/setserial/${PN}-${PV}.tar.gz"
+
do_install() {
- install -d ${D}${base_bindir}
- install -d ${D}/usr/man/man8
- install -d ${D}${mandir}
- autotools_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
}