diff -r 333964c621f1 -r cb59d6afeb61 openpkg/install.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/openpkg/install.sh Tue Jan 06 23:40:39 2009 +0100
@@ -0,0 +1,45 @@
+#!@l_prefix@/lib/openpkg/bash
+##
+## install -- OpenPKG Tool Chain "install" command (BOOSTRAP VERSION ONLY)
+## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
+## Copyright (c) 2000-2007 Ralf S. Engelschall
+##
+## Permission to use, copy, modify, and distribute this software for
+## any purpose with or without fee is hereby granted, provided that
+## the above copyright notice and this permission notice appear in all
+## copies.
+##
+## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+## SUCH DAMAGE.
+##
+
+##
+## This command emulates the "openpkg install openpkg-tools" command
+## in order to bootstrap the installation of the OpenPKG Tool Chain.
+##
+
+# sanity check usage
+if [ $# -eq 1 -a ".$1" = ".openpkg-tools" ]; then
+ :
+else
+ echo "openpkg:ERROR: still not available functionality \"install $*\"" 1>&2
+ echo "openpkg:INFO: This functionality is provided by the \"openpkg-tools\" package only!" 1>&2
+ echo "openpkg:INFO: Run the command \"$OPENPKG_PREFIX/bin/openpkg install openpkg-tools\" to" 1>&2
+ echo "openpkg:INFO: bootstrap the \"openpkg-tools\" package for additional functionality." 1>&2
+ echo "openpkg:INFO: This bootstrap version only supports this particular install command." 1>&2
+ exit 1
+fi
+
+# pass-through operation to "openpkg build" tool
+$OPENPKG_PREFIX/bin/openpkg build openpkg-tools | sh
+