libpagecache: another update to fix deadlocks...
[opendreambox.git] / meta-opendreambox / recipes-dreambox / libpagecache / libpagecache_0.0.3.bb
1 SUMMARY = "Preloadable library to improve large file operations"
2 SECTION = "base"
3 LICENSE = "CLOSED"
4 DEPENDS = "libdlsym"
5 SRCREV = "b4ce1a7b1f32df49dc4a63d8bc51b6af7d13e4c4"
6 PR = "r0"
7
8 inherit autotools opendreambox-git
9
10 FILES_${PN} = "${libdir}/libpagecache.so"
11 RREPLACES_${PN} += "libpagecache0"
12 RCONFLICTS_${PN} += "libpagecache0"
13
14 pkg_postinst_${PN} () {
15 [ -z $D ] && sed -i 's|${libdir}/libpagecache.so.0.0.0||g' ${sysconfdir}/ld.so.preload || /bin/true
16 }
17
18 pkg_postrm_${PN} () {
19 [ -z $D ] && sed -i 's|${libdir}/libpagecache.so.0.0.0||g' ${sysconfdir}/ld.so.preload || /bin/true
20 }
21
22