1 DESCRIPTION = "libelf is an ELF object file access library. \
2 The elf library provides routines to access, and manipulate, Elf object files."
7 SRC_URI = "http://www.mr511.de/software/libelf-${PV}.tar.gz \
8 http://www.stud.uni-hannover.de/~michael/software/libelf-${PV}.tar.gz"
14 TARGET_CC_ARCH += "${LDFLAGS}"
16 do_configure_prepend () {
17 if test ! -e acinclude.m4; then
18 cp aclocal.m4 acinclude.m4
23 oe_runmake 'prefix=${D}${prefix}' 'exec_prefix=${D}${exec_prefix}' \
24 'libdir=${D}${libdir}' 'includedir=${D}${includedir}' \
29 oe_libinstall -so -C lib libelf ${STAGING_LIBDIR}/
30 install -d ${STAGING_INCDIR}/libelf
31 for i in libelf.h nlist.h gelf.h sys_elf.h; do
32 install -m 0644 lib/$i ${STAGING_INCDIR}/libelf/
34 make includedir=${STAGING_INCDIR} install-compat