add staging for libelf
authorPhil Blundell <philb@gnu.org>
Fri, 28 May 2004 16:57:15 +0000 (16:57 +0000)
committerPhil Blundell <philb@gnu.org>
Fri, 28 May 2004 16:57:15 +0000 (16:57 +0000)
BKrev: 40b76f6b9ERGn839T3O8ma4Mgx_RFg

libelf/libelf_0.8.3.oe

index 7744223..ed497bc 100644 (file)
@@ -23,3 +23,12 @@ do_install () {
                   'libdir=${D}${libdir}' 'includedir=${D}${includedir}' \
                   install
 }
+
+do_stage () {
+       oe_libinstall -so -C lib libelf ${STAGING_LIBDIR}/
+       install -d ${STAGING_INCDIR}/libelf
+       for i in libelf.h nlist.h gelf.h sys_elf.h; do
+               install -m 0644 lib/$i ${STAGING_INCDIR}/libelf/
+       done
+       make includedir=${STAGING_INCDIR} install-compat
+}