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}"