[oe-commits] : boost 1.34.1: Create proper library files to fix packaging.
OE GIT Trial
gittrial at amethyst.openembedded.net
Mon Sep 22 22:09:39 UTC 2008
Module: OE.dev
Branch: org.openembedded.dev
Commit: e90d54f90e3e5129dc8396d4558934b2bae779fe
URL: http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=e90d54f90e3e5129dc8396d4558934b2bae779fe
Author: <thebohemian at openembedded.org>
Date: Sun Sep 21 14:38:45 2008 +0000
boost 1.34.1: Create proper library files to fix packaging.
---
packages/boost/boost_1.34.1.bb | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/packages/boost/boost_1.34.1.bb b/packages/boost/boost_1.34.1.bb
index 68afcaf..712bb6c 100644
--- a/packages/boost/boost_1.34.1.bb
+++ b/packages/boost/boost_1.34.1.bb
@@ -15,7 +15,7 @@ SRC_URI = "\
file://${PV}-gcc43.patch;patch=1 \
"
-PR = "r0"
+PR = "r1"
BJAM_TOOLS = "--toolset=gcc \
'-sGCC=${CC} '${BJAM_CONF} \
@@ -39,3 +39,14 @@ do_configure() {
echo "import toolset : using ;" > tools/build/v2/user-config.jam
echo "using gcc : : ${CC} : <cflags>${CFLAGS} <cxxflags>${CXXFLAGS} <linkflags>${LDFLAGS} ;" >> tools/build/v2/user-config.jam
}
+
+do_install_append() {
+ # Since boost does not provide library files in the form
+ # lib<name>.so.<abi> and a symlink pointing to this file
+ # we need to do this manually.
+ for F in `find ${D}${libdir} -name "*.so" -maxdepth 1`; do
+ echo renaming $F to $F.${PV}
+ mv $F $F.${PV}
+ ln -sf `basename $F`.${PV} $F
+ done
+}
More information about the Openembedded-commits
mailing list