Adding bcp, bjam, changing to /usr/share/boost-build
authorDaniel Goller <morfic@gentoo.org>
Tue, 25 Oct 2005 20:10:35 +0000 (20:10 +0000)
committerDaniel Goller <morfic@gentoo.org>
Tue, 25 Oct 2005 20:10:35 +0000 (20:10 +0000)
Package-Manager: portage-2.0.52-r1

dev-libs/boost/ChangeLog
dev-libs/boost/Manifest
dev-libs/boost/boost-1.33.0-r1.ebuild

index 310890977c7304532be6ee1d4ef5bbda3476b282..81d0d2a7c7181490bf7c8f25fefd813b28f71638 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for dev-libs/boost
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.64 2005/10/16 04:38:56 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.65 2005/10/25 20:10:35 morfic Exp $
+
+  25 Oct 2005; Daniel Goller <morfic@gentoo.org> boost-1.33.0-r1.ebuild:
+  Adding bcp, bjam, changing to /usr/share/boost-build
 
   12 Oct 2005; Daniel Goller <morfic@gentoo.org>
   +files/boost-alpha-threads.patch, boost-1.33.0.ebuild:
index 7c43a31bd37cd686b975d869d3be8e7e0e2e4084..1b79280719007ce7ad8d8fa480c9bf0d480940ab 100644 (file)
@@ -1,7 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 b44568a4f0f1f0b3bf7302951c325a02 ChangeLog 8931
+MD5 26334aff7fedef42798e3a5bb8e45063 ChangeLog 9060
 MD5 d259ae434e176df207cba3deab973f61 boost-1.29.0.ebuild 1426
 MD5 34d13e0eeb58e13e1992908d04d51b45 boost-1.30.0.ebuild 2973
 MD5 4759f9391ad73c487d4f6b3dbf8632a8 boost-1.30.2.ebuild 2960
@@ -11,7 +8,7 @@ MD5 37f8eb8b22a26f2bc30b6101d14cb9d0 boost-1.32.0-r2.ebuild 5690
 MD5 76f87ddbbddd80f054d8d005d4d66d92 boost-1.32.0-r3.ebuild 6183
 MD5 8d4eca3eb59bc23e2d53b3d0cfd06c97 boost-1.32.0.ebuild 2294
 MD5 16a0704d7282649d4c5920e3c8b39bee metadata.xml 343
-MD5 8f040e4c6d6b49c2065005fbc533eeef boost-1.33.0-r1.ebuild 6755
+MD5 daa33f312b8c1de18d68bb08d6074d0d boost-1.33.0-r1.ebuild 7129
 MD5 421fe3be35fd6d405bf2b3381d51867f boost-1.33.0.ebuild 6259
 MD5 9f4b3bf1104d681375b01af831179ee8 boost-1.32.0-r4.ebuild 6263
 MD5 ed187a2b2048776a7e5b27060d96938c files/digest-boost-1.29.0 65
@@ -26,10 +23,3 @@ MD5 1d06245b53e5677556ae22e5f60f0df3 files/digest-boost-1.32.0-r4 67
 MD5 612f486fa190f86f9be3a17465036dd0 files/digest-boost-1.33.0 67
 MD5 238bb8043f0cdc8bd91f81bd0b55f92a files/boost-alpha-threads.patch 1111
 MD5 612f486fa190f86f9be3a17465036dd0 files/digest-boost-1.33.0-r1 67
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDUdmt/aM9DdBw91cRAn+sAKCHmtn9CUypNdPdy7pVwsc7ld2/6gCeJS5v
-4rwd8KjVfoTtApa+qyXNAJ0=
-=YyQ9
------END PGP SIGNATURE-----
index 51727f601159b58b7967610832e6593b8292efb7..97ffcf8236cd90578e64bee443b2c4b84729c08f 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.33.0-r1.ebuild,v 1.1 2005/10/16 04:38:56 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.33.0-r1.ebuild,v 1.2 2005/10/25 20:10:35 morfic Exp $
 
 # This ebuild was generated by Ebuilder v0.4.
 inherit python distutils multilib eutils
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/boost/${PN}_${BOOST_PV}.tar.bz2"
 LICENSE="freedist Boost-1.0"
 SLOT="1"
 KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug doc icc pyste static threads threadsonly"
+IUSE="bcp bjam debug doc icc pyste static threads threadsonly"
 
 DEPEND="!icc? ( sys-devel/gcc )
        icc? (  >=dev-lang/icc-8.0.055 )
@@ -80,7 +80,7 @@ pkg_setup() {
                BUILD="${BUILD} <threading>single"
        fi
 
-       BOOSTJAM=./tools/build/jam_src/bin.*/bjam
+       BOOSTJAM=${S}/tools/build/jam_src/bin.*/bjam
 
        # we dont like what get_number_of_jobs does, so we borrow what counts to us,
        # thanks H?kan Wessberg <nacka-gentoo@refug.org>, bug #13565
@@ -150,14 +150,20 @@ src_compile() {
                        cd ${S}/libs/python/pyste/install
                        distutils_src_compile
                fi
+
+               if use bcp; then
+                       cd ${S}/tools/bcp/
+                       ${BOOSTJAM} || die "Building bcp failed"
+               fi
 }
 
 src_install () {
                # install build tools
                cd "${S}/tools/build"
                #do_whatever is too limiting here, need to move bunch of different stuff recursively
-               insinto /usr/share/${PN}
-               doins -a b* index.html v1/ v2/ ${D}/usr/share/${PN} || die "failed to install docs"
+               dodir /usr/share/boost-build
+               insinto /usr/share/boost-build
+               cp -a index.html v1/ v2/ ${D}/usr/share/boost-build || die "failed to install docs"
                cd "${S}"
 
                if use icc ; then
@@ -244,4 +250,16 @@ src_install () {
                cd ${S}/libs/python/pyste/install
                distutils_src_install
        fi
+
+       if use bcp; then
+               cd ${S}/tools/bcp/run/
+               exeinto /usr/bin
+               doexe bcp || die "bcp install failed"
+       fi
+
+       if use bjam; then
+               cd ${S}//tools/build/jam_src/bin.linux/
+               exeinto /usr/bin
+               doexe bjam || die "bjam install failed"
+       fi
 }