wok-current diff libboost-dev/receipt @ rev 11947
add perl-test-pod-coverage
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 01 11:19:11 2012 +0100 (2012-03-01) |
parents | d80becd997d7 |
children | 53223f0259b4 |
line diff
1.1 --- a/libboost-dev/receipt Wed Dec 01 18:21:45 2010 +0000 1.2 +++ b/libboost-dev/receipt Thu Mar 01 11:19:11 2012 +0100 1.3 @@ -41,33 +41,25 @@ 1.4 TOOLPREFIX=i486-pc-linux-gnu- 1.5 fi 1.6 1.7 - if [ -d $WGET_SOURCE ] ; then 1.8 - mv -f $WGET_SOURCE $src 1.9 - else 1.10 - rm -r -f $src/_pkg 1.11 - fi 1.12 - 1.13 cd $src 1.14 ./bootstrap.sh \ 1.15 - --prefix=$src/_pkg/usr \ 1.16 - --exec-prefix=$src/_pkg/usr \ 1.17 - --libdir=$src/_pkg/usr/lib \ 1.18 - --includedir=$src/_pkg/usr/include \ 1.19 + --prefix=$DESTDIR/usr \ 1.20 + --exec-prefix=$DESTDIR/usr \ 1.21 + --libdir=$DESTDIR/usr/lib \ 1.22 + --includedir=$DESTDIR/usr/include \ 1.23 --without-icu && 1.24 EXPAT_INCLUDE=/usr/include \ 1.25 EXPAT_LIBPATH=/usr/lib \ 1.26 ./bjam \ 1.27 - --prefix=$src/_pkg/usr \ 1.28 - --exec-prefix=$src/_pkg/usr \ 1.29 - --libdir=$src/_pkg/usr/lib \ 1.30 - --includedir=$src/_pkg/usr/include \ 1.31 + --prefix=$DESTDIR/usr \ 1.32 + --exec-prefix=$DESTDIR/usr \ 1.33 + --libdir=$DESTDIR/usr/lib \ 1.34 + --includedir=$DESTDIR/usr/include \ 1.35 --build-type=minimal \ 1.36 install 1.37 - mv $src/_pkg/usr/include/boost-1_45/boost $src/_pkg/usr/include && 1.38 - rm -r -f $src/_pkg/usr/include/boost-1_45 1.39 1.40 # create the missing links to the shared libs 1.41 - cd $src/_pkg/usr/lib 1.42 + cd $DESTDIR/usr/lib 1.43 for i in `ls *-mt.so`; do 1.44 boost_tmp=`echo $i | sed s/-gcc.*-mt//g` 1.45 boost_tmp_mt=`echo $i | sed s/-gcc.*-mt/-mt/g` 1.46 @@ -88,9 +80,8 @@ 1.47 mkdir -p $fs/usr 1.48 cp -a $_pkg/usr/lib $fs/usr 1.49 cp -a $_pkg/usr/include $fs/usr 1.50 - 1.51 for i in $RELOCATE_LIBS; do 1.52 - rm -f $fs/usr/lib/*$i* 1.53 - rm -r -f $fs/usr/include/boost/*$i* 1.54 + rm -f $fs/usr/lib/*$i* 1.55 + rm -r -f $fs/usr/include/boost/*$i* 1.56 done 1.57 }