summaryrefslogtreecommitdiff
path: root/elfutils/elfutils_0.89.oe
diff options
context:
space:
mode:
Diffstat (limited to 'elfutils/elfutils_0.89.oe')
-rw-r--r--elfutils/elfutils_0.89.oe42
1 files changed, 42 insertions, 0 deletions
diff --git a/elfutils/elfutils_0.89.oe b/elfutils/elfutils_0.89.oe
index e69de29bb2..d182372566 100644
--- a/elfutils/elfutils_0.89.oe
+++ b/elfutils/elfutils_0.89.oe
@@ -0,0 +1,42 @@
+DEPENDS = "virtual/libc"
+RDEPENDS = "libc6"
+LICENSE = "OSL"
+
+SRC_URI = http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz
+
+inherit autotools
+
+SOV = "${PV}"
+do_stage () {
+ install -m 0644 libelf/libelf.a ${STAGING_LIBDIR}/libelf.a
+ install -m 0755 libelf/libelf.so.1 ${STAGING_LIBDIR}/libelf-${SOV}.so
+ ln -sf libelf-${SOV}.so ${STAGING_LIBDIR}/libelf.so.1
+ ln -sf libelf.so.1 ${STAGING_LIBDIR}/libelf.so
+ install -m 0644 libasm/libasm.a ${STAGING_LIBDIR}/libasm.a
+ install -m 0755 libasm/libasm.so.1 ${STAGING_LIBDIR}/libasm-${SOV}.so
+ ln -sf libasm-${SOV}.so ${STAGING_LIBDIR}/libasm.so.1
+ ln -sf libasm.so.1 ${STAGING_LIBDIR}/libasm.so
+ install -m 0644 libdw/libdw.a ${STAGING_LIBDIR}/libdw.a
+ install -m 0755 libdw/libdw.so.1 ${STAGING_LIBDIR}/libdw-${SOV}.so
+ ln -sf libdw-${SOV}.so ${STAGING_LIBDIR}/libdw.so.1
+ ln -sf libdw.so.1 ${STAGING_LIBDIR}/libdw.so
+ install -m 0644 libebl/libebl.a ${STAGING_LIBDIR}/libebl.a
+ install -m 0755 libebl/libebl.so.1 ${STAGING_LIBDIR}/libebl-${SOV}.so
+ ln -sf libebl-${SOV}.so ${STAGING_LIBDIR}/libebl.so.1
+ ln -sf libebl.so.1 ${STAGING_LIBDIR}/libebl.so
+ install -m 0644 libdwarf/libdwarf.a ${STAGING_LIBDIR}/libdwarf.a
+ install -m 0755 libdwarf/libdwarf.so.1 ${STAGING_LIBDIR}/libdwarf-${SOV}.so
+ ln -sf libdwarf-${SOV}.so ${STAGING_LIBDIR}/libdwarf.so.1
+ ln -sf libdwarf.so.1 ${STAGING_LIBDIR}/libdwarf.so
+
+ install -m 0644 libelf/libelf.h ${STAGING_INCDIR}/
+ install -m 0644 libelf/gelf.h ${STAGING_INCDIR}/
+ install -m 0644 libelf/nlist.h ${STAGING_INCDIR}/
+ install -m 0644 libdwarf/dwarf.h ${STAGING_INCDIR}/
+ install -d ${STAGING_INCDIR}/elfutils
+ install -m 0644 libebl/libebl.h ${STAGING_INCDIR}/elfutils/
+ install -m 0644 libebl/elf-knowledge.h ${STAGING_INCDIR}/elfutils/
+ install -m 0644 libdwarf/libdwarf.h ${STAGING_INCDIR}/elfutils/
+ install -m 0644 libdw/libdw.h ${STAGING_INCDIR}/elfutils/
+ install -m 0644 libasm/libasm.h ${STAGING_INCDIR}/elfutils/
+}