import 'compile/configure' name=qemu version=2.7.0 update_url='http://wiki.qemu.org/Download' define_option 'targets=all: Define what targets to build (space-separated list)' dlextract "http://wiki.qemu-project.org/download/$name-$version.tar.bz2" \ '08d4d06d1cb598efecd796137f4844ab' header_end 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: