From patchwork Thu Feb 23 15:49:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-oe,1/1] toscoterm: add Date: Thu, 23 Feb 2012 15:49:17 -0000 From: Otavio Salvador X-Patchwork-Id: 21765 Message-Id: <50fc468523586eeb1c2d57252bce1afdaa9cb26c.1330012144.git.otavio@ossystems.com.br> To: openembedded-devel@lists.openembedded.org Signed-off-by: Otavio Salvador --- meta-oe/recipes-support/toscoterm/toscoterm_git.bb | 26 ++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-support/toscoterm/toscoterm_git.bb diff --git a/meta-oe/recipes-support/toscoterm/toscoterm_git.bb b/meta-oe/recipes-support/toscoterm/toscoterm_git.bb new file mode 100644 index 0000000..d31b529 --- /dev/null +++ b/meta-oe/recipes-support/toscoterm/toscoterm_git.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "A very small and simple terminal emulator" +SECTION = "x11/applications" +DEPENDS = "vte" +RDEPENDS += "glibc-gconv-ibm437" + +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://main.c;start_line=5;end_line=16;md5=9ae4bf20caf291afa94530026bd15229" + +# 0.2 version +SRCREV = "8586d617aed19fc75f5ae1e07270752c1b2f9a30" +SRC_URI = "git://github.com/OSSystems/toscoterm.git" + +S = "${WORKDIR}/git" + +inherit gitpkgv pkgconfig + +do_compile() { + oe_runmake \ + CC="${CC}" \ + CFLAGS="`pkg-config --cflags vte`${CFLAGS}" \ + LDFLAGS="`pkg-config --libs vte` ${LDFLAGS}" +} + +do_install() { + oe_runmake PREFIX="/usr" DESTDIR="${D}" install +}