boost: remove long_desc; fix armv7 cross build.

This commit is contained in:
Juan RP 2014-02-16 19:46:56 +01:00
parent b62c4ad63c
commit 0e6002e22d
1 changed files with 8 additions and 13 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'boost' # Template file for 'boost'
pkgname=boost pkgname=boost
version=1.54.0 version=1.54.0
revision=1 revision=2
_boostver="$(echo $version|sed 's|\.|_|g')" _boostver="$(echo $version|sed 's|\.|_|g')"
wrksrc="${pkgname}_${_boostver}" wrksrc="${pkgname}_${_boostver}"
makedepends="zlib-devel bzip2-devel icu-devel>=49.1" makedepends="zlib-devel bzip2-devel icu-devel>=49.1"
@ -11,11 +11,6 @@ homepage="http://www.boost.org/"
license="Boost Software License 1.0" license="Boost Software License 1.0"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${_boostver}.tar.bz2" distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${_boostver}.tar.bz2"
checksum=047e927de336af106a24bceba30069980c191529fd76b8dff8eb9a328b48ae1d checksum=047e927de336af106a24bceba30069980c191529fd76b8dff8eb9a328b48ae1d
long_desc="
The Boost web site provides free peer-reviewed portable C++ source libraries.
The emphasis is on libraries which work well with the C++ Standard Library.
The libraries are intended to be widely useful, and are in regular use by
thousands of programmers across a broad spectrum of applications."
if [ -z "$CROSS_BUILD" ]; then if [ -z "$CROSS_BUILD" ]; then
# XXX boost-jam and boost-python subpkgs. # XXX boost-jam and boost-python subpkgs.
@ -40,14 +35,14 @@ do_build() {
do_install() { do_install() {
# Install bjam # Install bjam
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then case "$XBPS_TARGET_MACHINE" in
_bindir="bin.linuxx86" i686*) _bindir="bin.linuxx86";;
elif [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then x86_64*) _bindir="bin.linuxx86_64";;
_bindir="bin.linuxx86_64" arm*) _bindir="bin.linuxarm";;
elif [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then esac
_bindir="bin.linuxarm" if [ -z "$CROSS_BUILD" ]; then
vinstall bjam 755 usr/bin
fi fi
[ -z "$CROSS_BUILD" ] && vinstall bjam 755 usr/bin
# Install headers/libs # Install headers/libs
./bjam --prefix=${DESTDIR}/usr install ./bjam --prefix=${DESTDIR}/usr install