import 'compile/configure' name=qemu version=2.9.0 update_url='http://www.qemu-project.org/download/' define_option 'targets=all: Define what targets to build (space-separated list)' dlextract "http://download.qemu-project.org/$name-$version.tar.xz" \ '86c95eb3b24ffea3a84a4e3a856b4e26' _ cd "$name-$version" targets="$(option =targets)" if [ "$targets" = "all" ]; then targets="" else targets="--target-list=$(echo "$targets" | sed -e 's/ /,/g')" fi compile_configure -- $targets # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: