3 DESCRIPTION = " The prelink package contains a utility which modifies ELF shared libraries \
4 and executables, so that far fewer relocations need to be resolved at \
5 runtime and thus programs come up faster."
8 SRC_URI = "${DEBIAN_MIRROR}/main/p/prelink/prelink_0.0.${PV}.orig.tar.gz \
10 file://prelink.cron.daily \
11 file://prelink.default"
13 #TARGET_OS_ORIG := "${TARGET_OS}"
14 #OVERRIDES_append = ":${TARGET_OS_ORIG}"
15 #SRC_URI_append_linux-gnueabi = " file://arm_eabi.patch;patch=1"
17 S = "${WORKDIR}/prelink-0.0.${PV}"
19 EXTRA_OECONF = "--disable-64bit"
23 do_install_append () {
24 install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default
25 install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf
26 install -m 0644 ${WORKDIR}/prelink.cron.daily ${D}${sysconfdir}/cron.daily/prelink
27 install -m 0644 ${WORKDIR}/prelink.default ${D}${sysconfdir}/default/prelink
30 pkg_postinst_prelink() {
33 if [ "x$D" != "x" ]; then
37 . ${sysconfdir}/cron.daily/prelink
43 if [ -f ${sysconfdir}/prelink.cache ]; then
45 rm -f ${sysconfdir}/prelink.cache