Skip to content

Commit

Permalink
Merge branch 'buildtype-jb' of https://github.com/tewdreyer/bee
Browse files Browse the repository at this point in the history
* 'buildtype-jb' of https://github.com/tewdreyer/bee:
  buildtypes: add new buildtype script for jb
  • Loading branch information
mariux committed Jun 6, 2012
2 parents 41f51ab + a5ad121 commit 19503aa
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ HELPER_SHELL=compat-filesfile2contentfile filelist2content content2filelist

LIBRARY_SHELL=beelib.config.sh

BUILDTYPES=configure cmake autogen perl-module perl-module-makemaker make python-module
BUILDTYPES=configure cmake autogen perl-module perl-module-makemaker make python-module jb

HELPER_HOOKS_SHELL=\
update-mime-database \
Expand Down
53 changes: 53 additions & 0 deletions buildtypes/jb.sh.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#
# bee magic for jb build system
#
# Copyright (C) 2009-2011
# Tobias Dreyer <dreyer@molgen.mpg.de>
# Marius Tolzmann <tolzmann@molgen.mpg.de>
# and other bee developers
#
# This file is part of bee.
#
# bee is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

if [ ! -r ${S}/jb ] ; then
return
fi

BEE_BUILDTYPE=jb

build_in_sourcedir

#### bee_configure() ##########################################################

bee_configure() {
start_cmd ${S}/jb configure \
destdir=${D} \
"${@}"
}

#### bee_build() ##############################################################

bee_build() {
start_cmd ${S}/jb build \
"${@}"
}

#### bee_install() ############################################################

bee_install() {
start_cmd ${S}/jb install \
"${@}"
}
1 change: 1 addition & 0 deletions src/beesh.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,7 @@ bee_buildmagic=$(${BEE_BINDIR}/beeuniq ${BEE_BUILDTYPE[@]} \
perl-module-makemaker \
python-module \
make \
jb \
)

BEE_BUILDTYPE=""
Expand Down

0 comments on commit 19503aa

Please sign in to comment.