diff options
Diffstat (limited to 'meta/packages/elfutils/elfutils_0.108.bb')
-rw-r--r-- | meta/packages/elfutils/elfutils_0.108.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/packages/elfutils/elfutils_0.108.bb b/meta/packages/elfutils/elfutils_0.108.bb new file mode 100644 index 0000000000..83acc7dccb --- /dev/null +++ b/meta/packages/elfutils/elfutils_0.108.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | SECTION = "base" | ||
2 | LICENSE = "OSL" | ||
3 | DESCRIPTION = "A collection of utilities and DSOs to handle compiled objects." | ||
4 | DEPENDS = "libtool" | ||
5 | |||
6 | SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \ | ||
7 | file://warnings.patch;patch=1" | ||
8 | |||
9 | inherit autotools | ||
10 | |||
11 | SOV = "${PV}" | ||
12 | do_stage () { | ||
13 | install -m 0644 libelf/libelf.a ${STAGING_LIBDIR}/libelf.a | ||
14 | install -m 0755 libelf/libelf.so.1 ${STAGING_LIBDIR}/libelf-${SOV}.so | ||
15 | ln -sf libelf-${SOV}.so ${STAGING_LIBDIR}/libelf.so.1 | ||
16 | ln -sf libelf.so.1 ${STAGING_LIBDIR}/libelf.so | ||
17 | install -m 0644 libasm/libasm.a ${STAGING_LIBDIR}/libasm.a | ||
18 | install -m 0755 libasm/libasm.so.1 ${STAGING_LIBDIR}/libasm-${SOV}.so | ||
19 | ln -sf libasm-${SOV}.so ${STAGING_LIBDIR}/libasm.so.1 | ||
20 | ln -sf libasm.so.1 ${STAGING_LIBDIR}/libasm.so | ||
21 | install -m 0644 libdw/libdw.a ${STAGING_LIBDIR}/libdw.a | ||
22 | install -m 0755 libdw/libdw.so.1 ${STAGING_LIBDIR}/libdw-${SOV}.so | ||
23 | ln -sf libdw-${SOV}.so ${STAGING_LIBDIR}/libdw.so.1 | ||
24 | ln -sf libdw.so.1 ${STAGING_LIBDIR}/libdw.so | ||
25 | install -m 0644 libebl/libebl.a ${STAGING_LIBDIR}/libebl.a | ||
26 | install -d ${STAGING_LIBDIR}/elfutils/ | ||
27 | install -m 0755 libebl/libebl_*.so ${STAGING_LIBDIR}/elfutils/ | ||
28 | |||
29 | install -m 0644 ${S}/libelf/libelf.h ${STAGING_INCDIR}/ | ||
30 | install -m 0644 ${S}/libelf/gelf.h ${STAGING_INCDIR}/ | ||
31 | install -m 0644 ${S}/libelf/nlist.h ${STAGING_INCDIR}/ | ||
32 | install -d ${STAGING_INCDIR}/elfutils | ||
33 | install -m 0644 ${S}/libebl/libebl.h ${STAGING_INCDIR}/elfutils/ | ||
34 | install -m 0644 ${S}/libdw/libdw.h ${STAGING_INCDIR}/elfutils/ | ||
35 | install -m 0644 ${S}/libasm/libasm.h ${STAGING_INCDIR}/elfutils/ | ||
36 | } | ||