ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/boost.spec
(Generate patch)

Comparing COMP/CMSDIST/boost.spec (file contents):
Revision 1.4 by eulisse, Thu Mar 2 16:05:38 2006 UTC vs.
Revision 1.7 by eulisse, Thu Apr 13 23:35:14 2006 UTC

# Line 1 | Line 1
1 < ### RPM external boost 1.32.0
1 > ### RPM external boost 1.33.1
2   # Patches and build fudging by Lassi A. Tuura <lat@iki.fi> (FIXME: contribute to boost)
3   # define boostver -%v <-- for 1.30.2
4   %define boostver _%(echo %v | tr . _)
# Line 23 | Line 23 | case $(uname) in
23   esac
24  
25   %install
26 < boost_abi=$(echo %boostver | sed 's/^_//; s/_[0-9]*$//')
26 > boost_abi=$(echo %boostver | sed 's/^_//; s/_0$//')
27   case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
28   mkdir -p %i/lib/debug
29   (cd bin/boost; find libs -path "libs/*/debug/*.$so" -exec cp {} %i/lib/debug \;)
30   (cd bin/boost; find libs -path "libs/*/release/*.$so" -exec cp {} %i/lib \;)
31 < find boost -name '*.h' -o -name '*.hpp' -print |
31 > find boost -name '*.[hi]*' -print |
32    while read f; do
33      mkdir -p %i/include/$(dirname $f)
34      install -c $f %i/include/$f
# Line 42 | Line 42 | find libs -name '*.py' -print |
42    for f in %i/lib/*.$so %i/lib/debug/*.$so; do
43      install_name_tool -id $f $f
44    done
45 +
46   (cd %i/lib; for f in lib*-$boost_abi.$so; do ln -s $f $(echo $f | sed "s/-$boost_abi//"); done)
47   (cd %i/lib; for f in lib*-$boost_abi.$so; do ln -s $f $f.%v ; done)
48   (cd %i/lib/debug; for f in lib*-d-$boost_abi.$so; do ln -s $f $(echo $f | sed "s/-d-$boost_abi//"); done)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines