summaryrefslogtreecommitdiff
path: root/packages/irda-utils/irdadump_0.9.16.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/irda-utils/irdadump_0.9.16.bb')
-rw-r--r--packages/irda-utils/irdadump_0.9.16.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/irda-utils/irdadump_0.9.16.bb b/packages/irda-utils/irdadump_0.9.16.bb
new file mode 100644
index 0000000000..98d28b60a3
--- /dev/null
+++ b/packages/irda-utils/irdadump_0.9.16.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Utility to dump IrDA traffic."
+SECTION = "base"
+LICENSE = "GPL"
+DEPENDS = "glib-1.2"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz"
+
+S="${WORKDIR}/irda-utils-${PV}/irdadump"
+
+EXTRA_CFLAGS += "-I${STAGING_INCDIR}/glib-1.2/"
+EXTRA_LDFLAGS += "-lglib"
+
+inherit autotools
+
+do_compile() {
+ oe_runmake CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}" LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}"
+}
+
+do_install () {
+ install -d ${D}${bindir}
+ install -m 0755 ${S}/shell/.libs/irdadump ${D}${bindir}
+}