wok-current diff libboost-dev/receipt @ rev 24174

updated pciids (20200329 -> 20211230)
author Hans-G?nter Theisgen
date Thu Dec 30 06:42:15 2021 +0100 (2021-12-30)
parents 86790a278e70
children 65d7d867e0c1
line diff
     1.1 --- a/libboost-dev/receipt	Tue Aug 07 23:03:21 2018 +0200
     1.2 +++ b/libboost-dev/receipt	Thu Dec 30 06:42:15 2021 +0100
     1.3 @@ -6,26 +6,25 @@
     1.4  # installation steps. These will be relocated and have their own two 
     1.5  # packages : libboost-name and libboost-name-dev.
     1.6  
     1.7 -# We have to do it this way because of the underscores
     1.8 -# to get a package with the slitaz version numbering
     1.9  PACKAGE="libboost-dev"
    1.10 -SOURCE="boost"
    1.11 -VERSION="1.50.0"
    1.12 -WGET_SOURCE="boost_1_50_0"
    1.13 -
    1.14 +VERSION="1.69.0"
    1.15  CATEGORY="development"
    1.16  SHORT_DESC="Free peer-reviewed portable C++ source libraries."
    1.17  MAINTAINER="chadi.elahmad@gmail.com"
    1.18  LICENSE="MIT"
    1.19 +WEB_SITE="https://www.boost.org/"
    1.20  
    1.21 +# We have to do it this way because of the underscores
    1.22 +# to get a package with the slitaz version numbering
    1.23 +SOURCE="boost"
    1.24 +WGET_SOURCE="boost_1_69_0"
    1.25  TARBALL="$WGET_SOURCE.tar.bz2"
    1.26 -EXTRA_SOURCE_FILES="boost_changeset_75540.u"
    1.27 -WEB_SITE="https://www.boost.org/"
    1.28 +#EXTRA_SOURCE_FILES="boost_changeset_75540.u"
    1.29  WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    1.30  
    1.31 -DEPENDS="gcc-lib-base libboost-math-dev libboost-date-time-dev \
    1.32 -libboost-chrono-dev"
    1.33 -BUILD_DEPENDS="python python-dev expat-dev expat zlib-dev bzip2-dev"
    1.34 +DEPENDS="gcc-lib-base libboost-chrono-dev libboost-date-time-dev \
    1.35 +	libboost-math-dev"
    1.36 +BUILD_DEPENDS="bzip2-dev expat expat-dev python python-dev zlib-dev"
    1.37  RELOCATE_LIBS="{ date_time filesystem graph iostreams \
    1.38  	math program_options python regex serialization \
    1.39  	signal system test thread tr1 wave }"
    1.40 @@ -44,25 +43,25 @@
    1.41  		TOOLPREFIX=$ARCH-pc-linux-gnu-
    1.42  	fi
    1.43  
    1.44 -	cd $src
    1.45 -	[ -s $SOURCES_REPOSITORY/boost_changeset_75540.u ] ||
    1.46 -	wget -O $SOURCES_REPOSITORY/boost_changeset_75540.u --no-check-certificate \
    1.47 -	  'https://svn.boost.org/trac/boost/changeset/75540?format=diff&new=75540'
    1.48 -	patch -p2 < $SOURCES_REPOSITORY/boost_changeset_75540.u || return 1
    1.49 -	./bootstrap.sh \
    1.50 -		--prefix=$DESTDIR/usr \
    1.51 -		--exec-prefix=$DESTDIR/usr \
    1.52 -		--libdir=$DESTDIR/usr/lib \
    1.53 -		--includedir=$DESTDIR/usr/include \
    1.54 +#	[ -s $SOURCES_REPOSITORY/boost_changeset_75540.u ] ||
    1.55 +#	wget -O $SOURCES_REPOSITORY/boost_changeset_75540.u --no-check-certificate \
    1.56 +#	  'https://svn.boost.org/trac/boost/changeset/75540?format=diff&new=75540'
    1.57 +#	patch -p2 < $SOURCES_REPOSITORY/boost_changeset_75540.u || return 1
    1.58 +
    1.59 +	./bootstrap.sh					\
    1.60 +		--prefix=$DESTDIR/usr			\
    1.61 +		--exec-prefix=$DESTDIR/usr		\
    1.62 +		--libdir=$DESTDIR/usr/lib		\
    1.63 +		--includedir=$DESTDIR/usr/include	\
    1.64  		--without-icu &&
    1.65  	EXPAT_INCLUDE=/usr/include \
    1.66  	EXPAT_LIBPATH=/usr/lib \
    1.67 -	./bjam \
    1.68 -		--prefix=$DESTDIR/usr \
    1.69 -		--exec-prefix=$DESTDIR/usr \
    1.70 -		--libdir=$DESTDIR/usr/lib \
    1.71 -		--includedir=$DESTDIR/usr/include \
    1.72 -		--build-type=minimal \
    1.73 +	./bjam						\
    1.74 +		--prefix=$DESTDIR/usr			\
    1.75 +		--exec-prefix=$DESTDIR/usr		\
    1.76 +		--libdir=$DESTDIR/usr/lib		\
    1.77 +		--includedir=$DESTDIR/usr/include	\
    1.78 +		--build-type=minimal			\
    1.79  		install
    1.80  	
    1.81  	# create the missing links to the shared libs
    1.82 @@ -85,12 +84,15 @@
    1.83  genpkg_rules()
    1.84  {
    1.85  	mkdir -p $fs/usr
    1.86 -	cp -a $install/usr/lib $fs/usr
    1.87 -	cp -a $install/usr/include $fs/usr
    1.88 +
    1.89 +	cp -a $install/usr/lib		$fs/usr
    1.90 +	cp -a $install/usr/include	$fs/usr
    1.91 +
    1.92  	for i in $RELOCATE_LIBS; do
    1.93  		rm -f $fs/usr/lib/*$i*
    1.94  		rm -r -f $fs/usr/include/boost/*$i*
    1.95  	done
    1.96 +
    1.97  	# libboost-chrono{-dev}
    1.98  	rm $fs/usr/lib/libboost_chrono*
    1.99  	rm $fs/usr/include/boost/chrono*