blob: 90fd03ecb301429be3dfe65fd47a364bc1627e12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
DESCRIPTION = "Utility to dump IrDA traffic."
SECTION = "base"
LICENSE = "GPL"
DEPENDS = "glib-2.0 pkgconfig"
PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \
file://glib2.patch;patch=1"
S="${WORKDIR}/irda-utils-${PV}/irdadump"
EXTRA_CFLAGS += "`pkg-config --cflags glib-2.0`"
EXTRA_LDFLAGS += "`pkg-config --libs glib-2.0`"
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}
}
|