blob: e439273e4d5823b90c50965723e90db8750bb180 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
DEPENDS = "elfutils virtual/libc"
RDEPENDS = "elfutils libc6"
DESCRIPTION = " The prelink package contains a utility which modifies ELF shared libraries \
and executables, so that far fewer relocations need to be resolved at \
runtime and thus programs come up faster."
SRC_URI = ftp://people.redhat.com/jakub/prelink/prelink-${PV}.tar.bz2 \
file://${FILESDIR}/dso.c.patch;patch=1 \
file://${FILESDIR}/layout.c.patch;patch=1 \
file://${FILESDIR}/Makefile.in.patch;patch=1 \
file://${FILESDIR}/prelink.h.patch;patch=1 \
file://${FILESDIR}/ts.Makefile.am.patch;patch=1 \
file://${FILESDIR}/ts.Makefile.in.patch;patch=1
S = "${WORKDIR}/prelink"
inherit autotools libtool
do_install_append () {
install -d ${D}/${sysconfdir}/cron.daily ${D}/${sysconfdir}/default
oe_machinstall -m 0644 ${FILESDIR}/prelink.conf ${D}/${sysconfdir}/prelink.conf
oe_machinstall -m 0644 ${FILESDIR}/prelink.cron.daily ${D}/${sysconfdir}/cron.daily/prelink
oe_machinstall -m 0644 ${FILESDIR}/prelink.default ${D}/${sysconfdir}/default/prelink
}
|