wok-next diff libboost/receipt @ rev 20515
glibc: undo math patches
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 16:16:38 2018 +0200 (2018-03-21) |
parents | 2f3aba6cc31e |
children | 802e7ed99164 |
line diff
1.1 --- a/libboost/receipt Mon Jun 12 11:39:09 2017 +0300 1.2 +++ b/libboost/receipt Wed Mar 21 16:16:38 2018 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="libboost" 1.7 -VERSION="1.63.0" 1.8 +VERSION="1.64.0" 1.9 CATEGORY="meta" 1.10 SHORT_DESC="Boost C++ libraries" 1.11 MAINTAINER="chadi.elahmad@gmail.com" 1.12 @@ -9,7 +9,7 @@ 1.13 WEB_SITE="http://www.boost.org/" 1.14 1.15 TARBALL="boost-$VERSION.tar.bz2" 1.16 -WGET_URL="$SF_MIRROR/boost/boost_${VERSION//./_}.tar.bz2" 1.17 +WGET_URL="https://dl.bintray.com/boostorg/release/$VERSION/source/boost_${VERSION//./_}.tar.bz2" 1.18 1.19 BUILD_DEPENDS="icu-dev zlib-dev bzip2-dev python-dev" 1.20 l="libboost" 1.21 @@ -39,25 +39,17 @@ 1.22 # libboost-x-dev by the pair libboost-x and libboost-dev. 1.23 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 +compile_rules() { 1.29 ./bootstrap.sh --prefix=$install/usr && 1.30 ./b2 stage threading=multi link=shared && 1.31 - ./b2 install threading=multi link=shared && 1.32 + ./b2 install threading=multi link=shared || return 1 1.33 1.34 - docdir=$install/share/doc/boost-$VERSION && 1.35 - mkdir -p $docdir && 1.36 - cp -a $src/doc/html/* $docdir && 1.37 - chown -R root:root $docdir && 1.38 - find $docdir -type f -exec chmod 644 '{}' \; 1.39 + cook_pick_docs doc/html/* 1.40 1.41 find $install -name '*.hpp' -exec chmod 644 '{}' \; 1.42 } 1.43 1.44 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 -genpkg_rules() 1.46 -{ 1.47 +genpkg_rules() { 1.48 DEPENDS=" " 1.49 case $PACKAGE in 1.50 *-chrono) DEPENDS="$l-system";; 1.51 @@ -90,8 +82,7 @@ 1.52 CAT="doc|documentation" 1.53 ;; 1.54 libboost-dev) 1.55 - copy @dev 1.56 - remove_already_packed 1.57 + copy @dev @rm 1.58 ;; 1.59 *) 1.60 p=${PACKAGE#*-}