Add new libisi recipe (libisi can talk to the nokia900 modem)
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Fri, 17 Dec 2010 17:49:24 +0000 (18:49 +0100)
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Fri, 17 Dec 2010 18:02:05 +0000 (19:02 +0100)
libisi will be used in fsogsmd for the nokia900.
As we can't use ofono directly we import some ofono parts in libisi,
  and use that library in the vala code of fsogsmd trough a vapi file.

Thanks a lot mickeyl for help on #openmoko-cdevel on Freenode on irc:
  <mickeyl> do you use =+ or += ?
  <mickeyl> PN-tests probably need to be prepended to PACKAGES, not appended
(I was doing PACKAGES += "${PN}-test" and it failed to package the tests)

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
recipes/freesmartphone/libisi_git.bb [new file with mode: 0644]

diff --git a/recipes/freesmartphone/libisi_git.bb b/recipes/freesmartphone/libisi_git.bb
new file mode 100644 (file)
index 0000000..4775981
--- /dev/null
@@ -0,0 +1,19 @@
+DESCRIPTION = "libisi is a library implementing the PhoNet protocol"
+SECTION = "libs/network"
+AUTHOR = "Sebastian Reichel <sre@ring0.de>"
+LICENSE = "GPLv2"
+DEPENDS = "glib-2.0"
+SRC_URI = "${FREESMARTPHONE_GIT}/libisi.git;protocol=git;branch=master"
+SRCREV = "49809e4107fac3c8cf5f1e3ffce37030213e7e99"
+PV = "0.0.0+gitr${SRCPV}"
+
+inherit pkgconfig vala autotools
+
+EXTRA_OECONF = "--enable-tests"
+
+S = "${WORKDIR}/git"
+
+PACKAGES =+ "${PN}-tests"
+
+FILES_${PN}-tests = "${sbindir}/*"
+DESCRIPTION_${PN}-tests = "${PN} runtime tests"