1 # mpk-shell - enters a shell with a pre-defined environment.
2 # Copyright (C) 2008,2010 Cesar Strauss
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 2 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 setup_configure_options
21 export mpk_opt="$pkg_configure_opt"
22 export topdir builddir resultdir
31 The following variables are set:
35 for opt in $mpk_opt; do
44 Most software can be built like this:
46 echo \"\$mpk_opt\" | xargs ./configure
50 [To exit the Minipack shell, type 'exit'].
56 ========================
57 Minipack shell finished.
58 ========================
64 if [ -n "$pkg" ]; then
65 recipe=$(get_recipe_name $pkg) || exit 1