boost: update to 1.50.0.

This commit is contained in:
Juan RP 2012-07-02 16:30:25 +02:00
parent 4fcd2cf5c0
commit d7e17076e7
5 changed files with 46 additions and 59 deletions

View file

@ -534,27 +534,27 @@ libnm-util.so.2 libnm-0.9.1.90_1
libnm-glib.so.4 libnm-0.9.1.90_1 libnm-glib.so.4 libnm-0.9.1.90_1
libnm-glib-vpn.so.1 libnm-0.9.1.90_1 libnm-glib-vpn.so.1 libnm-0.9.1.90_1
libpanel-applet-4.so.0 gnome-panel-3.3.92_1 libpanel-applet-4.so.0 gnome-panel-3.3.92_1
libboost_date_time.so.1.44.0 boost-1.44<1.45_1 libboost_date_time.so.1.50.0 boost-1.50<1.51_1
libboost_math_tr1f.so.1.44.0 boost-1.44<1.45_1 libboost_math_tr1f.so.1.50.0 boost-1.50<1.51_1
libboost_serialization.so.1.44.0 boost-1.44<1.45_1 libboost_serialization.so.1.50.0 boost-1.50<1.51_1
libboost_filesystem.so.1.44.0 boost-1.44<1.45_1 libboost_filesystem.so.1.50.0 boost-1.50<1.51_1
libboost_math_tr1l.so.1.44.0 boost-1.44<1.45_1 libboost_math_tr1l.so.1.50.0 boost-1.50<1.51_1
libboost_signals.so.1.44.0 boost-1.44<1.45_1 libboost_signals.so.1.50.0 boost-1.50<1.51_1
libboost_graph.so.1.44.0 boost-1.44<1.45_1 libboost_graph.so.1.50.0 boost-1.50<1.51_1
libboost_math_tr1.so.1.44.0 boost-1.44<1.45_1 libboost_math_tr1.so.1.50.0 boost-1.50<1.51_1
libboost_system.so.1.44.0 boost-1.44<1.45_1 libboost_system.so.1.50.0 boost-1.50<1.51_1
libboost_iostreams.so.1.44.0 boost-1.44<1.45_1 libboost_iostreams.so.1.50.0 boost-1.50<1.51_1
libboost_prg_exec_monitor.so.1.44.0 boost-1.44<1.45_1 libboost_prg_exec_monitor.so.1.50.0 boost-1.50<1.51_1
libboost_thread.so.1.44.0 boost-1.44<1.45_1 libboost_thread.so.1.50.0 boost-1.50<1.51_1
libboost_math_c99f.so.1.44.0 boost-1.44<1.45_1 libboost_math_c99f.so.1.50.0 boost-1.50<1.51_1
libboost_program_options.so.1.44.0 boost-1.44<1.45_1 libboost_program_options.so.1.50.0 boost-1.50<1.51_1
libboost_unit_test_framework.so.1.44.0 boost-1.44<1.45_1 libboost_unit_test_framework.so.1.50.0 boost-1.50<1.51_1
libboost_math_c99l.so.1.44.0 boost-1.44<1.45_1 libboost_math_c99l.so.1.50.0 boost-1.50<1.51_1
libboost_python.so.1.44.0 boost-python-1.44<1.45_1 libboost_python.so.1.50.0 boost-python-1.44<1.51_1
libboost_wave.so.1.44.0 boost-1.44<1.45_1 libboost_wave.so.1.50.0 boost-1.50<1.51_1
libboost_math_c99.so.1.44.0 boost-1.44<1.45_1 libboost_math_c99.so.1.50.0 boost-1.50<1.51_1
libboost_regex.so.1.44.0 boost-1.44<1.45_1 libboost_regex.so.1.50.0 boost-1.50<1.51_1
libboost_wserialization.so.1.44.0 boost-1.44<1.45_1 libboost_wserialization.so.1.50.0 boost-1.50<1.51_1
libexempi.so.3 exempi-2.1.1_1 libexempi.so.3 exempi-2.1.1_1
libatasmart.so.4 libatasmart-0.17_1 libatasmart.so.4 libatasmart-0.17_1
libsgutils2.so.2 libsgutils-1.28_1 libsgutils2.so.2 libsgutils-1.28_1

View file

@ -1,6 +1,8 @@
# Template file for 'boost-build'. # Template file for 'boost-build'.
# #
depends="boost-jam boost-devel" conf_files="/etc/site-config.jam"
noarch=yes
depends="boost-jam>=$version boost-devel>=$version"
short_desc="${short_desc} (Boost.Build framework)" short_desc="${short_desc} (Boost.Build framework)"
long_desc=" long_desc="
Boost is a set of free, peer-reviewed, C++ libraries. The emphasis is on Boost is a set of free, peer-reviewed, C++ libraries. The emphasis is on
@ -9,12 +11,7 @@ long_desc="
This package provides the Boost.Build module, which includes bjam. This This package provides the Boost.Build module, which includes bjam. This
is the tool used to build Boost itself, and is based on Perforce Jam." is the tool used to build Boost itself, and is based on Perforce Jam."
conf_files="/etc/site-config.jam" do_install() {
noarch=yes
do_install()
{
mkdir -p ${DESTDIR}/usr/share mkdir -p ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/share/boost-build ${DESTDIR}/usr/share mv ${SRCPKGDESTDIR}/usr/share/boost-build ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/etc ${DESTDIR} mv ${SRCPKGDESTDIR}/etc ${DESTDIR}

View file

@ -8,9 +8,7 @@ long_desc="
This package provides the Boost.Jam module, a make-like utility. This This package provides the Boost.Jam module, a make-like utility. This
is the tool used to build Boost itself, and is based on Perforce Jam." is the tool used to build Boost itself, and is based on Perforce Jam."
do_install() {
do_install()
{
mkdir -p ${DESTDIR}/usr/bin mkdir -p ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/bin/bjam ${DESTDIR}/usr/bin mv ${SRCPKGDESTDIR}/usr/bin/bjam ${DESTDIR}/usr/bin
} }

View file

@ -1,6 +1,6 @@
# Template file for 'boost-python'. # Template file for 'boost-python'.
# #
depends="boost python" depends="boost>=$version python"
short_desc="${short_desc} - python bindings" short_desc="${short_desc} - python bindings"
long_desc=" long_desc="
Boost is a set of free, peer-reviewed, C++ libraries. The emphasis is on Boost is a set of free, peer-reviewed, C++ libraries. The emphasis is on
@ -9,10 +9,7 @@ long_desc="
This package adds static and shared binary libraries providing support for This package adds static and shared binary libraries providing support for
the Boost Python library." the Boost Python library."
do_install() {
do_install()
{
mkdir -p ${DESTDIR}/usr/lib mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/libboost_python* ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/libboost_python* ${DESTDIR}/usr/lib
} }

View file

@ -1,52 +1,47 @@
# Template file for 'boost' # Template file for 'boost'
pkgname=boost pkgname=boost
version=1.44.0 version=1.50.0
revision=3 revision=1
_boostver="$(echo $version|sed 's|\.|_|g')" _boostver="$(echo $version|sed 's|\.|_|g')"
wrksrc=${pkgname}_${_boostver} wrksrc="${pkgname}_${_boostver}"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${_boostver}.tar.bz2" subpackages="boost-build boost-devel boost-jam boost-python"
makedepends="zlib-devel icu-devel python-devel" makedepends="zlib-devel icu-devel python-devel"
short_desc="Free peer-reviewed portable C++ source libraries" short_desc="Free peer-reviewed portable C++ source libraries"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=45c328029d97d1f1dc7ff8c9527cd0c5cc356636084a800bca2ee4bfab1978db homepage="http://www.boost.org/"
license="Boost Software License 1.0"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${_boostver}.tar.bz2"
checksum=c9ace2b8c81fa6703d1d17c7e478de3bc51101c5adbdeb3f6cb72cf3045a8529
long_desc=" long_desc="
boost is a library for applications dealing with netlink sockets. boost is a library for applications dealing with netlink sockets.
The library provides an interface for raw netlink messaging and various The library provides an interface for raw netlink messaging and various
netlink family specific interfaces." netlink family specific interfaces."
subpackages="boost-build boost-devel boost-jam boost-python" do_build() {
./bootstrap.sh -prefix=${DESTDIR}/usr
do_build() ./bjam cflags=-fno-strict-aliasing ${makejobs}
{
cd ${wrksrc} && ./bootstrap.sh -prefix=${DESTDIR}/usr || return 1
cd ${wrksrc} && ./bjam cflags=-fno-strict-aliasing ${makejobs} || return 1
} }
do_install() do_install() {
{
# Install bjam # Install bjam
_bindir="bin.linuxx86" _bindir="bin.linuxx86"
[ "${XBPS_MACHINE}" = "x86_64" ] && _bindir="bin.linuxx86_64" [ "${XBPS_MACHINE}" = "x86_64" ] && _bindir="bin.linuxx86_64"
install -m755 -d ${DESTDIR}/usr/bin vinstall bjam 755 usr/bin
install -m755 ${wrksrc}/tools/jam/src/${_bindir}/bjam \
${DESTDIR}/usr/bin || return 1
# Install headers/libs # Install headers/libs
cd ${wrksrc} && ./bjam --prefix=${DESTDIR}/usr install || return 1 ./bjam --prefix=${DESTDIR}/usr install
# Install Boost.Build stuff. # Install Boost.Build stuff.
install -d ${DESTDIR}/usr/share/boost-build install -d ${DESTDIR}/usr/share/boost-build
cd ${wrksrc}/tools/build/v2 && cp -a . ${DESTDIR}/usr/share/boost-build cd $wrksrc/tools/build/v2 && cp -a . ${DESTDIR}/usr/share/boost-build
find ${DESTDIR}/usr/share/boost-build \ find ${DESTDIR}/usr/share/boost-build \
-type f -name \*.orig -exec rm -f {} \; -type f -name \*.orig -exec rm -f {} \;
( echo '# System wide configuration file for Boost.Build.' ; \ ( echo '# System wide configuration file for Boost.Build.' ; \
echo ; \ echo ; \
echo 'using gcc ;' ; ) >${wrksrc}/site-config.jam echo 'using gcc ;' ; ) >${wrksrc}/site-config.jam
install -m644 -D ${wrksrc}/site-config.jam \ cd $wrksrc
${DESTDIR}/etc/site-config.jam vinstall site-config.jam 644 etc
# license # license
install -d ${DESTDIR}/usr/share/licenses/${pkgname} vinstall LICENSE_1_0.txt 644 usr/share/licenses/boost
install -m644 ${wrksrc}/LICENSE_1_0.txt \
${DESTDIR}/usr/share/licenses/${pkgname}/ || return 1
} }