summaryrefslogtreecommitdiffstats
path: root/meta/packages/elfutils/elfutils_0.89.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-16 22:45:27 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-16 22:45:27 +0000
commit79c0a43c2c809285616b913dcb44b6515f98f791 (patch)
tree5700bd431563adc5f91702370ed500bbe12d14a2 /meta/packages/elfutils/elfutils_0.89.bb
parent76d9b6ea7f504b2d85f854936359f6aadb480eb0 (diff)
downloadpoky-79c0a43c2c809285616b913dcb44b6515f98f791.tar.gz
elfutils: Convert to autotools_stage_all
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/elfutils/elfutils_0.89.bb')
-rw-r--r--meta/packages/elfutils/elfutils_0.89.bb35
1 files changed, 1 insertions, 34 deletions
diff --git a/meta/packages/elfutils/elfutils_0.89.bb b/meta/packages/elfutils/elfutils_0.89.bb
index aad2275ef9..b59c33e8c9 100644
--- a/meta/packages/elfutils/elfutils_0.89.bb
+++ b/meta/packages/elfutils/elfutils_0.89.bb
@@ -6,38 +6,5 @@ DEPENDS = "libtool"
6SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \ 6SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \
7 file://warnings.patch;patch=1" 7 file://warnings.patch;patch=1"
8 8
9inherit autotools 9inherit autotools_stage
10 10
11SOV = "${PV}"
12do_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 install -m 0644 libdwarf/libdwarf.a ${STAGING_LIBDIR}/libdwarf.a
29 install -m 0755 libdwarf/libdwarf.so.1 ${STAGING_LIBDIR}/libdwarf-${SOV}.so
30 ln -sf libdwarf-${SOV}.so ${STAGING_LIBDIR}/libdwarf.so.1
31 ln -sf libdwarf.so.1 ${STAGING_LIBDIR}/libdwarf.so
32
33 install -m 0644 ${S}/libelf/libelf.h ${STAGING_INCDIR}/
34 install -m 0644 ${S}/libelf/gelf.h ${STAGING_INCDIR}/
35 install -m 0644 ${S}/libelf/nlist.h ${STAGING_INCDIR}/
36 install -m 0644 ${S}/libdwarf/dwarf.h ${STAGING_INCDIR}/
37 install -d ${STAGING_INCDIR}/elfutils
38 install -m 0644 ${S}/libebl/libebl.h ${STAGING_INCDIR}/elfutils/
39 install -m 0644 ${S}/libebl/elf-knowledge.h ${STAGING_INCDIR}/elfutils/
40 install -m 0644 ${S}/libdwarf/libdwarf.h ${STAGING_INCDIR}/elfutils/
41 install -m 0644 ${S}/libdw/libdw.h ${STAGING_INCDIR}/elfutils/
42 install -m 0644 ${S}/libasm/libasm.h ${STAGING_INCDIR}/elfutils/
43}