From cb0f024e8741b9d5765a1b6fe85c755dfb1515d7 Mon Sep 17 00:00:00 2001 From: Guittet Thibault Date: Wed, 27 Aug 2014 15:39:00 +0200 Subject: [PATCH] Add yocto recipe Change-Id: Ia749921a2589de7ded9aa2bf01e8230c258b7519 --- packaging/connman-ncurses_git.bb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 packaging/connman-ncurses_git.bb diff --git a/packaging/connman-ncurses_git.bb b/packaging/connman-ncurses_git.bb new file mode 100644 index 0000000..b2e403e --- /dev/null +++ b/packaging/connman-ncurses_git.bb @@ -0,0 +1,27 @@ +SUMMARY = "A simple ncurses interface for connman" +DESCRIPTION = "A simple ncurses interface for connman" +HOMEPAGE = "https://github.com/alan-mushi/connman-json-client" + +SECTION = "console/network" + +DEPENDS = "dbus ncurses connman json-c" +RDEPENDS_${PN} = "dbus ncurses connman json-c" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI = "git://github.com/alan-mushi/connman-json-client.git;rev=0a83cfb469ac567cea6c825eb0c129aeed8257ea" + +inherit autotools + +EXTRA_AUTORECONF += " -i" +EXTRA_OECONF += " --disable-optimization --enable-debug" + +S = "${WORKDIR}/git" + +do_install () { + mkdir -p ${D}${bindir} + install -Dm755 connman_ncurses ${D}${bindir}/${PN} +} + +FILES_${PN} = "${bindir}/${PN}"