You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
589 B
25 lines
589 B
9 years ago
|
import 'compile/configure'
|
||
|
|
||
|
name=qemu
|
||
8 years ago
|
version=2.7.0
|
||
9 years ago
|
update_url='http://wiki.qemu.org/Download'
|
||
|
|
||
8 years ago
|
define_option 'targets=all: Define what targets to build (space-separated list)'
|
||
|
|
||
9 years ago
|
dlextract "http://wiki.qemu-project.org/download/$name-$version.tar.bz2" \
|
||
8 years ago
|
'08d4d06d1cb598efecd796137f4844ab'
|
||
9 years ago
|
header_end
|
||
|
|
||
|
cd "$name-$version"
|
||
8 years ago
|
|
||
|
targets="$(option =targets)"
|
||
|
if [ "$targets" = "all" ]; then
|
||
|
targets=""
|
||
|
else
|
||
|
targets="--target-list=$(echo "$targets" | sed -e 's/ /,/g')"
|
||
|
fi
|
||
|
|
||
8 years ago
|
compile_configure -- --audio-drv-list=alsa $targets
|
||
9 years ago
|
|
||
8 years ago
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|