From: Chris Larson Date: Thu, 4 Nov 2010 18:25:17 +0000 (-0400) Subject: termcap, termcapfile: add GNU termcap 1.3.1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c05f4e4c4d0cb1914660f1d261961e185a4e1f5;p=openembedded.git termcap, termcapfile: add GNU termcap 1.3.1 Signed-off-by: Chris Larson --- diff --git a/recipes/termcap/termcap_1.3.1.bb b/recipes/termcap/termcap_1.3.1.bb new file mode 100644 index 0000000000..6f78bbf40c --- /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 a14630dacd..6e8517b7fd 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"