1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-16 09:08:33 +00:00
morpheus/pkgbuild
sin 4b1709f90a List dependencies explicitly
This is by far the simplest approach as packages previously
in cross-scripts/ could also depend on other packages.
2014-02-17 16:31:31 +00:00

24 lines
289 B
Bash
Executable File

#!/bin/sh
umask 022
if test -z "$1"; then
echo usage: $0 pkg... 1>&2
exit 1
fi
. ./prepare-env
if test "$(uname -m)" != "$arch"; then
echo You need an $arch host to build morpheus 1>&2
exit 1
fi
. ./prepare-root
mkdir -p src
while [ $# -gt 0 ]; do
./build "pkgs/$1"
shift
done