aboutsummaryrefslogtreecommitdiffstats
path: root/main/boost/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-10 16:01:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-10 16:04:38 +0000
commit768bdadb5a217568c8d4d5e1bd4a87afb884ae88 (patch)
treeb450a29af1a1a8c5c23b87c0502d3e659324f0a4 /main/boost/APKBUILD
parentddcb83871c5a882a064abdda5b2c8850eef5b96f (diff)
downloadaports-768bdadb5a217568c8d4d5e1bd4a87afb884ae88.tar.bz2
aports-768bdadb5a217568c8d4d5e1bd4a87afb884ae88.tar.xz
main/boost: upgrade to 1.45.0
Diffstat (limited to 'main/boost/APKBUILD')
-rw-r--r--main/boost/APKBUILD22
1 files changed, 5 insertions, 17 deletions
diff --git a/main/boost/APKBUILD b/main/boost/APKBUILD
index 32bf14e846..2a2c65dc36 100644
--- a/main/boost/APKBUILD
+++ b/main/boost/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=boost
-pkgver=1.43.0
+pkgver=1.45.0
_x=${pkgver%%.*} # strip .y.z
_y=${pkgver%.*} # strip .z
@@ -8,7 +8,7 @@ _y=${_y#*.} # strip x.
_z=${pkgver##*.} # strip x.y.
_ver=${_x}_${_y}_${_z}
-pkgrel=3
+pkgrel=0
pkgdesc="Free peer-reviewed portable C++ source libraries"
url="http://www.boost.org/"
arch="x86 x86_64"
@@ -35,9 +35,7 @@ $pkgname-wave
$pkgname-wserialization
"
source="http://downloads.sourceforge.net/$pkgname/${pkgname}_$_ver.tar.gz
- boost-1.41.0-parameter-needs-python.patch
- boost-uclibc-thread.patch
- random-Jamfile"
+ "
_builddir="$srcdir"/${pkgname}_${_ver}
prepare() {
@@ -48,13 +46,6 @@ prepare() {
patch -p1 -i "$i" || return 1
done
- # add support for /dev/urandom
- mkdir -p libs/random/build
- cp "$srcdir"/random-Jamfile libs/random/build/Jamfile.2
- sed -i -e 's/#ifdef __linux__/#if 1/' \
- libs/random/src/random_device.cpp \
- || return 1
-
# create user-config.jam
cat > user-config.jam <<__EOF__
@@ -82,7 +73,7 @@ _options="--user-config=\"$_builddir/user-config.jam\"
build() {
msg "Building bjam"
export BOOST_ROOT="$_builddir"
- cd "$_builddir"/tools/jam/src
+ cd "$_builddir"/tools/build/v2/engine/src
CC= ./build.sh cc || return 1
_bindir="bin.linuxx86"
[ "${CARCH}" = "x86_64" ] && _bindir="bin.linuxx86_64"
@@ -142,7 +133,4 @@ wave() { _mvlib wave; }
wserialization() { _mvlib wserialization; }
-md5sums="734565ca4819bf04bd8e903e116c3fb1 boost_1_43_0.tar.gz
-83dbee9d7291a0f322fd2b8936aeace7 boost-1.41.0-parameter-needs-python.patch
-7ea3caa231764eca4522ae303939214d boost-uclibc-thread.patch
-1d43f6ee1fc426f1ddcb4aafc6b77b9b random-Jamfile"
+md5sums="739792c98fafb95e7a6b5da23a30062c boost_1_45_0.tar.gz"