1 DESCRIPTION = "EarthMate Userland Library"
2 SECTION = "libs/network"
5 DEPENDS = "libusb ncurses"
8 SRC_URI = "http://download.berlios.de/emul/emul-${PV}.tar.gz"
10 CFLAGS += "-I${STAGING_INCDIR}"
13 ${CC} -c ${CFLAGS} -D_REENTRANT -fPIC -o emul.o src/emul.c
14 ${CC} -c ${CFLAGS} -D_REENTRANT -fPIC -o buf.o src/buf.c
15 ${CC} ${LDFLAGS} -shared -fPIC -Wl,-soname,libemul.so.1 -o libemul.so -lusb -lpthread emul.o buf.o
17 ${CC} -c ${CFLAGS} -Isrc -o sirfmon.o src/sirfmon.c
18 ${CC} ${LDFLAGS} -L. -lemul -lncurses -lm sirfmon.o -o sirfmon
22 install -d ${D}${libdir}
23 oe_libinstall -so libemul ${D}${libdir}
25 install -d ${D}${bindir}
26 install -m 0755 sirfmon ${D}${bindir}
30 SECTION_sirfmon = "network"
31 FILES_sirfmon = "${bindir}"
32 FILES_${PN} = "${libdir}"