summaryrefslogtreecommitdiffstats
path: root/meta/packages/elfutils/elfutils_0.89.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-12-19 19:24:24 +0000
committerRichard Purdie <richard@openedhand.com>2006-12-19 19:24:24 +0000
commita8b7d094ed0686b0f6737861e0d82224acedfacc (patch)
tree2f42907c9349b3a79719f15a0d56aa4cdfa1b47a /meta/packages/elfutils/elfutils_0.89.bb
parent01303ccecf5e0cc24fdd1a67071d1cfd9ead545e (diff)
downloadpoky-a8b7d094ed0686b0f6737861e0d82224acedfacc.tar.gz
Add elfutils, prelink
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1049 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/elfutils/elfutils_0.89.bb')
-rw-r--r--meta/packages/elfutils/elfutils_0.89.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/packages/elfutils/elfutils_0.89.bb b/meta/packages/elfutils/elfutils_0.89.bb
new file mode 100644
index 0000000000..aad2275ef9
--- /dev/null
+++ b/meta/packages/elfutils/elfutils_0.89.bb
@@ -0,0 +1,43 @@
1SECTION = "base"
2LICENSE = "OSL"
3DESCRIPTION = "A collection of utilities and DSOs to handle compiled objects."
4DEPENDS = "libtool"
5
6SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \
7 file://warnings.patch;patch=1"
8
9inherit autotools
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}