summaryrefslogtreecommitdiff
path: root/packages/irda-utils/irdadump_0.9.16.bb
blob: 98d28b60a3046a30d35f46e4406ef16be73a9360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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}
}