diff options
Diffstat (limited to 'meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb')
-rw-r--r-- | meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb b/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb index a7c10f797..dde1f43da 100644 --- a/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb +++ b/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb | |||
@@ -30,3 +30,12 @@ PACKAGES =+ "${PN}-libs" | |||
30 | FILES_${PN}-libs = "${libdir}/${BPN}/*.so /usr/lib/${BPN}/*.so" | 30 | FILES_${PN}-libs = "${libdir}/${BPN}/*.so /usr/lib/${BPN}/*.so" |
31 | INSANE_SKIP_${PN}-libs = "dev-so" | 31 | INSANE_SKIP_${PN}-libs = "dev-so" |
32 | RDEPENDS_${PN} += "${PN}-libs" | 32 | RDEPENDS_${PN} += "${PN}-libs" |
33 | |||
34 | do_install_prepend() { | ||
35 | cmlist=`find ${S} -name CMakeLists.txt` | ||
36 | for file in $cmlist; do | ||
37 | sed -i -e "s:LIBRARY DESTINATION lib/accel-ppp:LIBRARY DESTINATION ${baselib}/accel-ppp:g" \ | ||
38 | -e "s:\${CMAKE_INSTALL_PREFIX}/lib/accel-ppp:\${CMAKE_INSTALL_PREFIX}/${baselib}/accel-ppp:g" \ | ||
39 | $cmlist | ||
40 | done | ||
41 | } | ||