diff --git a/Makefile b/Makefile index 6eb0dc1..a397af0 100644 --- a/Makefile +++ b/Makefile @@ -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 \ diff --git a/buildtypes/jb.sh.in b/buildtypes/jb.sh.in new file mode 100644 index 0000000..6556a9c --- /dev/null +++ b/buildtypes/jb.sh.in @@ -0,0 +1,53 @@ +# +# bee magic for jb build system +# +# Copyright (C) 2009-2011 +# Tobias Dreyer +# Marius Tolzmann +# 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 . +# + +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 \ + "${@}" +} diff --git a/src/beesh.sh.in b/src/beesh.sh.in index 536636e..ff2b057 100644 --- a/src/beesh.sh.in +++ b/src/beesh.sh.in @@ -787,6 +787,7 @@ bee_buildmagic=$(${BEE_BINDIR}/beeuniq ${BEE_BUILDTYPE[@]} \ perl-module-makemaker \ python-module \ make \ + jb \ ) BEE_BUILDTYPE=""