summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-08-15 21:01:45 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-08-15 21:48:45 +0100
commitf675dec3cb71453ace20ac92a64e048330caa490 (patch)
tree9fbbe47edafc4e78af67e8c9884b7f7cb97177ba
parentBugfix bump adhoc filehandle (diff)
downloadportage-f675dec3cb71453ace20ac92a64e048330caa490.tar.bz2
portage-f675dec3cb71453ace20ac92a64e048330caa490.tar.xz
portage-f675dec3cb71453ace20ac92a64e048330caa490.zip
Add bjaminstall
-rw-r--r--eclass/bjam.eclass24
1 files changed, 24 insertions, 0 deletions
diff --git a/eclass/bjam.eclass b/eclass/bjam.eclass
index ea1e9ef..c9d384e 100644
--- a/eclass/bjam.eclass
+++ b/eclass/bjam.eclass
@@ -24,6 +24,30 @@ bjambuild() {
setarch $(uname -m) -RL b2 ${BJAMOPTS} variant=release -q $@ || die
}
+bjaminstall() {
+ local -a other
+ local include
+ include=${PN}
+ while [[ $# -gt 0 ]] ; do
+ case "$1" in
+ -i|--include)
+ include=$2
+ shift
+ ;;
+ *)
+ other+=( $1 )
+ ;;
+ esac
+ shift
+ done
+
+ bjambuild \
+ --prefix="${D}/usr" \
+ --libdir="${D}/usr/$(get_libdir)" \
+ --includedir="${D}/usr/include/$include" \
+ ${other[@]}
+}
+
doxygenbuild() {
mkdir -p ${D}/usr/share/man
find ${S} -name Doxyfile -printf '%h %p\n' | while read d p ; do