summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2009-10-21 12:47:47 +0000
committerDirkjan Ochtman <djc@gentoo.org>2009-10-21 12:47:47 +0000
commit531d4e51388d95ab0d36856160898fdbb9b0ed15 (patch)
tree42341e2f2d5af4bd27f4c415ea1c1c5ea641e670 /dev-util/boost-build
parentMask paman. (diff)
downloadhistorical-531d4e51388d95ab0d36856160898fdbb9b0ed15.tar.gz
historical-531d4e51388d95ab0d36856160898fdbb9b0ed15.tar.bz2
historical-531d4e51388d95ab0d36856160898fdbb9b0ed15.zip
Version bump boost-build to 1.40.0.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-util/boost-build')
-rw-r--r--dev-util/boost-build/ChangeLog8
-rw-r--r--dev-util/boost-build/Manifest6
-rw-r--r--dev-util/boost-build/boost-build-1.40.0.ebuild104
-rw-r--r--dev-util/boost-build/metadata.xml4
4 files changed, 119 insertions, 3 deletions
diff --git a/dev-util/boost-build/ChangeLog b/dev-util/boost-build/ChangeLog
index 1d8ac24d3e23..424b18d14bf7 100644
--- a/dev-util/boost-build/ChangeLog
+++ b/dev-util/boost-build/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/boost-build
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/ChangeLog,v 1.38 2009/07/16 09:33:38 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/ChangeLog,v 1.39 2009/10/21 12:47:47 djc Exp $
+
+*boost-build-1.40.0 (21 Oct 2009)
+
+ 21 Oct 2009; Dirkjan Ochtman <djc@gentoo.org> +boost-build-1.40.0.ebuild,
+ metadata.xml:
+ Version bump to 1.40 (add myself to maintainers).
*boost-build-1.39.0 (16 Jul 2009)
diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
index 27891db3181b..b8ec1785c59d 100644
--- a/dev-util/boost-build/Manifest
+++ b/dev-util/boost-build/Manifest
@@ -4,11 +4,13 @@ DIST boost_1_35_0.tar.bz2 23416747 RMD160 89dc46b7841cd288b5fb6f4b9a1ac7309786dc
DIST boost_1_36_0.tar.bz2 28839275 RMD160 0ac38ee3c355c22fd5534bc806bf516890e5182d SHA1 b8f0f5d90b260aff995ef38fad4eee5e73d00810 SHA256 9a4a0cfbbd227c20a13519a2c41f2e707dc0d89e518a3c7bfcd381f7b7fbcdef
DIST boost_1_37_0.tar.bz2 29435646 RMD160 3c4cf7eb97a8fb126e564ba529ed9edec8765185 SHA1 c0d0cf9ad8d954507824aed51a3e93e6a9da1d99 SHA256 d52ef49f70b1b9addc4e0d1a3a2a1966227f0d173c3301bac3e6d399eeac5472
DIST boost_1_39_0.tar.bz2 29408537 RMD160 4962256b48fa8563bf373b8bed97cc8655206a51 SHA1 6af42f74ab24ccc51589a025593bad298c8adde8 SHA256 44785eae8c6cce61a29a8a51f9b737e57b34d66baa7c0bcd4af188832b8018fd
+DIST boost_1_40_0.tar.bz2 32068759 RMD160 dabcc7442b73048095aa3037917ea0713782781f SHA1 9dbaa06ce1d99ce310011c2eaf816ecb003b3096 SHA256 36cf4a239b587067a4923fdf6e290525a14c3af29829524fa73f3dec6841530c
EBUILD boost-build-1.34.1.ebuild 2411 RMD160 7be71b552599041c34edf127d3f5dcb1b9095704 SHA1 bbc8007bcdd882b373ce72e8f4aa79c51c6d588d SHA256 5b80a98674bf5e7a192910b49e2c24429a56021b5b0e7d210ad936849724a491
EBUILD boost-build-1.35.0-r1.ebuild 2739 RMD160 94abd6846df6125a847a5e179be257df8f5a7828 SHA1 d58da24de89cd40f31ab7d7d6874e1e96a7bc221 SHA256 1b83e4c6744f3e9c2d1c90aa71b64c2c31a86f78e8b6bfdac6c1b7d34931e6ba
EBUILD boost-build-1.35.0-r2.ebuild 3096 RMD160 47440bbe8830ff2e4c74e39362040ef5636f0e08 SHA1 6993853cf68995755ba65524bde09b509bd1af7b SHA256 f8fb182a3fd259071997d806b1a9552d70ebd31aa3f199de250e35fc0685bffb
EBUILD boost-build-1.36.0.ebuild 3070 RMD160 01f469019463c757630bf0eb4602c8b03e92cd1a SHA1 5acf81381d53571ffb9baa33c7f3d3883fb0bd51 SHA256 e2a1f1bf83501f193cb93693c27fb4a9c875413cb9796cbf6f3b69bc502895e4
EBUILD boost-build-1.37.0.ebuild 3070 RMD160 298974c268bc9cd45c40e1649588fcaf0f856aeb SHA1 def541a5e3109035780a7f150da13c1d4c112261 SHA256 cc1b0620fecde5104ac1cca379940663a34ca044660bc45443d3daa11b5c5235
EBUILD boost-build-1.39.0.ebuild 3083 RMD160 d1a994bad1fbaf9839634a523a3ef8bab59bee6a SHA1 be0fe8f90686a915baabe6a54826043fed859299 SHA256 dfbdd273e71a346c9311f95bbfc2797acd0635c9922d733eb4e636b5f042b240
-MISC ChangeLog 5141 RMD160 da70e1ef6e19a50de6c1204ab5e8881a94b29bd6 SHA1 87834be86100e36601991237ddaca57872d357f1 SHA256 be3deda3fc24420805ee2ea883a3db13209749be1af08c90f7e6e3fae632b562
-MISC metadata.xml 261 RMD160 5334f981ef24f0e2d90bbf1fc1acfa0861684476 SHA1 9c795ec41d3c4c6c284fc88f292ae04c23083f56 SHA256 3207c8a2b1789cb857ab68170ddb6d4e9e4f970e4a110119e62e7fac0b9f6ddb
+EBUILD boost-build-1.40.0.ebuild 3078 RMD160 249b68dbaad159fb9cc86410b3234a08fbc2a635 SHA1 b3432b1fc58c05d05daca1f322be82723cd10f4b SHA256 0e902b680b1c84f54c8142ebf6203590c0c737e7090ebcfb079becd495e23d0b
+MISC ChangeLog 5316 RMD160 6301ba00830912b633a3bf044248df6049b1bd11 SHA1 abbd0fcd1371d683f697b7436c8240f93060a034 SHA256 007af97dd846158da5642c437ce0a423282d55c3718026d10b48760114823189
+MISC metadata.xml 359 RMD160 4fa77cbdf5c226846628fdf00f88643e1a1527c7 SHA1 6e67fe577a9b024551514c8896b23e58f56cc30e SHA256 f0b7e5a3e4c7ff11a812e150a4a972051741c722e440d9572195bf1d25a3def3
diff --git a/dev-util/boost-build/boost-build-1.40.0.ebuild b/dev-util/boost-build/boost-build-1.40.0.ebuild
new file mode 100644
index 000000000000..6e5c2628b4f0
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.40.0.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2009 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.40.0.ebuild,v 1.1 2009/10/21 12:47:47 djc Exp $
+
+EAPI="2"
+
+inherit flag-o-matic toolchain-funcs versionator
+
+MY_PV=$(replace_all_version_separators _)
+MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
+HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
+SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="examples python"
+
+DEPEND="!<dev-libs/boost-1.34.0
+ !<=dev-util/boost-build-1.35.0-r1
+ python? ( dev-lang/python )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/boost_${MY_PV}/tools"
+
+src_unpack() {
+ tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/{jam,build/v2}
+}
+
+src_prepare() {
+ # Remove stripping option
+ cd "${S}/jam/src"
+ sed -i -e 's|-s\b||' \
+ build.jam || die "sed failed"
+
+ # Force regeneration
+ rm jambase.c
+
+ # 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/\(off speed space\)/\1 none/' \
+ -e 's/\(debug-symbols : on off\)/\1 none/' \
+ tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+ cd jam/src
+ local toolset
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ toolset=darwin
+ else
+ # Using boost's generic toolset here, which respects CC and CFLAGS
+ toolset=cc
+ fi
+
+ append-flags -fno-strict-aliasing
+
+ # For slotting
+ sed -i \
+ -e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
+ Jambase || die "sed failed"
+
+ # The build.jam file for building bjam using a bootstrapped jam0 ignores
+ # the LDFLAGS env var (bug #209794). We have now two options:
+ # a) change the cc-target definition in build.jam to include separate compile
+ # and link targets to make it use the LDFLAGS var, or
+ # b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
+ # (which should not be set by us).
+ if [[ -z "${LDFLAGS}" ]] ; then
+ CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
+ || die "building bjam failed"
+ else
+ LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
+ $(use_with python) || die "building bjam failed"
+ fi
+}
+
+src_install() {
+ newbin jam/src/bin.*/bjam bjam-${MAJOR_PV}
+
+ cd "${S}/build/v2"
+ insinto /usr/share/boost-build-${MAJOR_PV}
+ doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+ build kernel options tools util || die
+
+ dodoc changes.txt hacking.txt release_procedure.txt \
+ notes/build_dir_option.txt notes/relative_source_paths.txt
+
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r example
+ fi
+}
+
+src_test() {
+ cd jam/test
+ ./test.sh || die "tests failed"
+}
diff --git a/dev-util/boost-build/metadata.xml b/dev-util/boost-build/metadata.xml
index 64e111f55791..b209da63dacb 100644
--- a/dev-util/boost-build/metadata.xml
+++ b/dev-util/boost-build/metadata.xml
@@ -6,4 +6,8 @@
<email>dev-zero@gentoo.org</email>
<name>Tiziano Müller</name>
</maintainer>
+ <maintainer>
+ <email>djc@gentoo.org</email>
+ <name>Dirkjan Ochtman</name>
+ </maintainer>
</pkgmetadata>