summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-12-18 23:06:50 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-12-18 23:06:50 +0000
commita695e98063db30c2523ee54d24cfcd6e1b77f10b (patch)
treea6ac57e330ebfe275ab00abaec88f907cdaf874f /dev-util/boost-build
parentAdded a new check for pg-hier USE-flag (diff)
downloadgentoo-2-a695e98063db30c2523ee54d24cfcd6e1b77f10b.tar.gz
gentoo-2-a695e98063db30c2523ee54d24cfcd6e1b77f10b.tar.bz2
gentoo-2-a695e98063db30c2523ee54d24cfcd6e1b77f10b.zip
Added dev-util/boost-build for the upcoming boost-1.34 release
(Portage version: 2.1.2_rc3)
Diffstat (limited to 'dev-util/boost-build')
-rw-r--r--dev-util/boost-build/ChangeLog10
-rw-r--r--dev-util/boost-build/Manifest16
-rw-r--r--dev-util/boost-build/boost-build-1.34_pre20061214.ebuild70
-rw-r--r--dev-util/boost-build/files/digest-boost-build-1.34_pre200612143
-rw-r--r--dev-util/boost-build/metadata.xml9
5 files changed, 108 insertions, 0 deletions
diff --git a/dev-util/boost-build/ChangeLog b/dev-util/boost-build/ChangeLog
new file mode 100644
index 000000000000..1113d3ec01ef
--- /dev/null
+++ b/dev-util/boost-build/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-util/boost-build
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/ChangeLog,v 1.1 2006/12/18 23:06:50 dev-zero Exp $
+
+*boost-build-1.34_pre20061214 (18 Dec 2006)
+
+ 18 Dec 2006; Tiziano Müller <dev-zero@gentoo.org> +metadata.xml,
+ +boost-build-1.34_pre20061214.ebuild:
+ Initial commit.
+
diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
new file mode 100644
index 000000000000..e8345213b868
--- /dev/null
+++ b/dev-util/boost-build/Manifest
@@ -0,0 +1,16 @@
+DIST boost_1_34_pre20061214.tar.bz2 12357020 RMD160 51a96ef3dc28b4bd1d5fc3c295a4a3f874fe59fa SHA1 62e6fc5ea23aec68e26282068e950c0ca035f846 SHA256 4c88805afe6b47366d960d878eec8a6e0e7f40a7f9122a7d877020e9102d0e49
+EBUILD boost-build-1.34_pre20061214.ebuild 1745 RMD160 d666320bca674736b4a4bed92a6f601a604c8980 SHA1 ab59953e542fb8a41aadd29ebba85a99852fc2aa SHA256 0b21edc61ffb44c01d0db761442fdece779c67b472e55226e305b5935799aa61
+MD5 e71cce5bbd593a541cc9a8102b109ebc boost-build-1.34_pre20061214.ebuild 1745
+RMD160 d666320bca674736b4a4bed92a6f601a604c8980 boost-build-1.34_pre20061214.ebuild 1745
+SHA256 0b21edc61ffb44c01d0db761442fdece779c67b472e55226e305b5935799aa61 boost-build-1.34_pre20061214.ebuild 1745
+MISC ChangeLog 293 RMD160 baa729886e02a1dd285c692390b7629b8e5d180e SHA1 2b8b54702a5bc663dfad37442becc427400b77c2 SHA256 40a433bbb6e17b46d460936f819f5d1b02bd4cb27e6319cc9bf935edf8c43dee
+MD5 5d4274bd1c187595ed98328546862824 ChangeLog 293
+RMD160 baa729886e02a1dd285c692390b7629b8e5d180e ChangeLog 293
+SHA256 40a433bbb6e17b46d460936f819f5d1b02bd4cb27e6319cc9bf935edf8c43dee ChangeLog 293
+MISC metadata.xml 261 RMD160 5334f981ef24f0e2d90bbf1fc1acfa0861684476 SHA1 9c795ec41d3c4c6c284fc88f292ae04c23083f56 SHA256 3207c8a2b1789cb857ab68170ddb6d4e9e4f970e4a110119e62e7fac0b9f6ddb
+MD5 27ff5413a93c29035d82d94e5d7d6d9a metadata.xml 261
+RMD160 5334f981ef24f0e2d90bbf1fc1acfa0861684476 metadata.xml 261
+SHA256 3207c8a2b1789cb857ab68170ddb6d4e9e4f970e4a110119e62e7fac0b9f6ddb metadata.xml 261
+MD5 4d2c7622840a8822a22de0b6b476a878 files/digest-boost-build-1.34_pre20061214 277
+RMD160 9a9df1d0836e4228bb0555168feaec083d916c49 files/digest-boost-build-1.34_pre20061214 277
+SHA256 06642f8f05261ead16839bb8350548064c469dba0f16992c748e9a3c2b0b0f46 files/digest-boost-build-1.34_pre20061214 277
diff --git a/dev-util/boost-build/boost-build-1.34_pre20061214.ebuild b/dev-util/boost-build/boost-build-1.34_pre20061214.ebuild
new file mode 100644
index 000000000000..ee11ec29730d
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.34_pre20061214.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.34_pre20061214.ebuild,v 1.1 2006/12/18 23:06:50 dev-zero Exp $
+
+inherit toolchain-funcs versionator
+
+KEYWORDS="~amd64 ~x86"
+
+MY_PV=$(replace_all_version_separators _)
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerfull."
+HOMEPAGE="http://www.boost.org/tools/build/v2/index.html"
+SRC_URI="http://dev.gentoo.org/~dev-zero/distfiles/boost_${MY_PV}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="0"
+IUSE="icc"
+
+DEPEND="!<dev-libs/boost-1.34_pre20060930"
+RDEPEND=""
+
+S=${WORKDIR}/boost_${MY_PV}/tools
+
+src_unpack() {
+ unpack ${A}
+
+ # Remove stripping option
+ cd "${S}/jam/src"
+ sed -i \
+ -e 's/-s\b//' \
+ build.jam || die "sed failed"
+
+ # This patch allows us to fully control optimization
+ # and stripping flags when bjam is used as build-system
+ # We simply extend the optimization and debug-symbols feature
+ # with empty dummies called 'none'
+ cd "${S}/build/v2"
+ sed -i \
+ -e 's/\(feature optimization : off speed space\)/\1 none/' \
+ -e 's/\(feature debug-symbols : on off\)/\1 none/' \
+ tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+
+ cd jam/src
+ local toolset
+
+ if use icc ; then
+ toolset=intel-linux
+ sed -i \
+ -e "s#/opt/intel/cc/9.0#${IA32ROOT}#" \
+ build.sh || die "sed failed"
+ elif [ "${ARCH}" == "ppc-macos" ] ; then
+ toolset=darwin
+ else
+ # Using boost's generic toolset here, which respects CC and CFLAGS
+ toolset=cc
+ fi
+
+ CC=$(tc-getCC) ./build.sh ${toolset} || die "building bjam failed"
+}
+
+src_install() {
+ dobin jam/src/bin.*/bjam
+
+ cd "${S}/build/v2"
+ insinto /usr/share/boost-build
+ doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+ build kernel options tools util
+}
diff --git a/dev-util/boost-build/files/digest-boost-build-1.34_pre20061214 b/dev-util/boost-build/files/digest-boost-build-1.34_pre20061214
new file mode 100644
index 000000000000..ed25c5f3af30
--- /dev/null
+++ b/dev-util/boost-build/files/digest-boost-build-1.34_pre20061214
@@ -0,0 +1,3 @@
+MD5 c2ecc5f9f12198eb7fe116a14edd65a5 boost_1_34_pre20061214.tar.bz2 12357020
+RMD160 51a96ef3dc28b4bd1d5fc3c295a4a3f874fe59fa boost_1_34_pre20061214.tar.bz2 12357020
+SHA256 4c88805afe6b47366d960d878eec8a6e0e7f40a7f9122a7d877020e9102d0e49 boost_1_34_pre20061214.tar.bz2 12357020
diff --git a/dev-util/boost-build/metadata.xml b/dev-util/boost-build/metadata.xml
new file mode 100644
index 000000000000..64e111f55791
--- /dev/null
+++ b/dev-util/boost-build/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>cpp</herd>
+ <maintainer>
+ <email>dev-zero@gentoo.org</email>
+ <name>Tiziano Müller</name>
+ </maintainer>
+</pkgmetadata>