2 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
3 DESCRIPTION = "an ELF object file access library \
4 The elf library provides routines to access, and manipulate, Elf object \
5 files. It is still not complete, but is required for a number of programs, \
6 such as Eli (a state of the art compiler generation system), and Elk (the \
7 Extension Language Kit - an implementation of the Scheme programming \
10 SRC_URI = "http://www.stud.uni-hannover.de/~michael/software/libelf-${PV}.tar.gz"
14 do_configure_prepend () {
15 if test ! -e acinclude.m4; then
16 cp aclocal.m4 acinclude.m4
21 oe_runmake 'prefix=${D}${prefix}' 'exec_prefix=${D}${exec_prefix}' \
22 'libdir=${D}${libdir}' 'includedir=${D}${includedir}' \
27 oe_libinstall -so -C lib libelf ${STAGING_LIBDIR}/
28 install -d ${STAGING_INCDIR}/libelf
29 for i in libelf.h nlist.h gelf.h sys_elf.h; do
30 install -m 0644 lib/$i ${STAGING_INCDIR}/libelf/
32 make includedir=${STAGING_INCDIR} install-compat