[oe-commits] Chris Larson : termcap, termcapfile: add GNU termcap 1.3.1
git version control
git at git.openembedded.org
Thu Nov 4 18:45:59 UTC 2010
Module: openembedded.git
Branch: master
Commit: 7c05f4e4c4d0cb1914660f1d261961e185a4e1f5
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7c05f4e4c4d0cb1914660f1d261961e185a4e1f5
Author: Chris Larson <chris_larson at mentor.com>
Date: Thu Nov 4 14:25:17 2010 -0400
termcap, termcapfile: add GNU termcap 1.3.1
Signed-off-by: Chris Larson <chris_larson at mentor.com>
---
recipes/termcap/termcap_1.3.1.bb | 35 ++++++++++++++++++++
.../termcapfile_11.0.1.bb} | 5 +--
2 files changed, 36 insertions(+), 4 deletions(-)
diff --git a/recipes/termcap/termcap_1.3.1.bb b/recipes/termcap/termcap_1.3.1.bb
new file mode 100644
index 0000000..6f78bbf
--- /dev/null
+++ b/recipes/termcap/termcap_1.3.1.bb
@@ -0,0 +1,35 @@
+inherit autotools
+
+DESCRIPTION = "GNU termcap is a library of C functions that enables programs \
+to send control strings to terminals in a terminal type-independent manner"
+HOMEPAGE = "http://freshmeat.net/projects/termcap/"
+LICENSE = "GPLv2"
+DEPENDS = ""
+PE = "1"
+PR = "0"
+
+SRC_URI = "${GNU_MIRROR}/termcap/termcap-${PV}.tar.gz"
+SRC_URI[md5sum] = "ffe6f86e63a3a29fa53ac645faaabdfa"
+SRC_URI[sha256sum] = "91a0e22e5387ca4467b5bcb18edf1c51b930262fd466d5fda396dd9d26719100"
+
+EXTRA_OECONF += "\
+ --enable-install-termcap \
+ --with-termcap=${sysconfdir}/termcap \
+"
+
+EXTRA_OEMAKE += "\
+ 'AR=${AR}' \
+ 'CFLAGS=${CFLAGS}' \
+"
+
+do_install () {
+ install -d ${D}${sysconfdir}
+ oe_runmake install \
+ 'libdir=${D}${libdir}' \
+ 'includedir=${D}${includedir}' \
+ 'infodir=${D}${infodir}' \
+ 'termcapfile=${D}${sysconfdir}/termcap' \
+ 'oldincludedir='
+}
+
+BBCLASSEXTEND += "native nativesdk"
diff --git a/recipes/termcap/termcap_11.0.1.bb b/recipes/termcapfile/termcapfile_11.0.1.bb
similarity index 87%
rename from recipes/termcap/termcap_11.0.1.bb
rename to recipes/termcapfile/termcapfile_11.0.1.bb
index a14630d..6e8517b 100644
--- a/recipes/termcap/termcap_11.0.1.bb
+++ b/recipes/termcapfile/termcapfile_11.0.1.bb
@@ -2,6 +2,7 @@ DESCRIPTION = "Terminal Capabilities File"
SECTION = "base"
HOMEPAGE = "http://www.catb.org/~esr/terminfo/"
LICENSE = "PD"
+PR = "r1"
SRC_URI = "http://www.catb.org/~esr/terminfo/termtypes.tc.gz"
S = "${WORKDIR}"
@@ -11,9 +12,5 @@ do_install() {
install -m 0644 termtypes.tc ${D}${sysconfdir}/termcap
}
-PACKAGES = "${PN}-dbg termcap"
-FILES_termcap = "${sysconfdir}"
-
-
SRC_URI[md5sum] = "37318885db65314f1bcc2b22751123d3"
SRC_URI[sha256sum] = "c4fa04257fea6e968d4caa28cc18dbbf9eea4769a463296eaca21ceea757a728"
More information about the Openembedded-commits
mailing list