From: Robert Schuster Date: Sun, 21 Sep 2008 14:38:45 +0000 (+0000) Subject: boost 1.34.1: Create proper library files to fix packaging. X-Git-Tag: Release-2010-05/1~6022^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=653773873c33648dc59a626f4cdec44f68851832;p=openembedded.git boost 1.34.1: Create proper library files to fix packaging. --- diff --git a/packages/boost/boost_1.34.1.bb b/packages/boost/boost_1.34.1.bb index 68afcafea5..712bb6c566 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} ${CXXFLAGS} ${LDFLAGS} ;" >> tools/build/v2/user-config.jam } + +do_install_append() { + # Since boost does not provide library files in the form + # lib.so. 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 +}