1 DESCRIPTION
= "EarthMate Userland Library"
2 SECTION
= "libs/network"
5 DEPENDS
= "virtual/libusb0 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}"
34 SRC_URI
[md5sum
] = "f713b4d3c6a733b429de2673e4427483"
35 SRC_URI
[sha256sum
] = "b91c7fb6420f6787d34b88b1e0d2e705e1006b5bce17235356f84a3c14329612"