import 'compile/configure' name=qemu version=2.10.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" \ 'a89e3293cf69c32cf4be4188dfa25544' _ 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: