setserial: add DESCRIPTION, HOMEPAGE, AUTHOR. fix packaging
authorJunqian Gordon Xu <xjqian@gmail.com>
Sun, 16 Mar 2008 06:12:51 +0000 (06:12 +0000)
committerJunqian Gordon Xu <xjqian@gmail.com>
Sun, 16 Mar 2008 06:12:51 +0000 (06:12 +0000)
packages/setserial/setserial_2.17.bb

index 4646df8..6b73eed 100644 (file)
@@ -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
 }