]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/uqm/files/build-opts.sh
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / uqm / files / build-opts.sh
1 #!/bin/sh
2 # Shamelessly stolen from gentoo ebuild
3 cat <<-EOF > config.state
4 CHOICE_debug_VALUE='nodebug'
5 CHOICE_graphics_VALUE='pure'
6 CHOICE_sound_VALUE='mixsdl'
7 INPUT_install_prefix_VALUE='$1'
8 INPUT_install_bindir_VALUE='$2'
9 INPUT_install_libdir_VALUE='$3'
10 EOF
11
12 # Take out the read so we can be non-interactive.
13 sed -i \
14         -e '/read CHOICE/d' build/unix/menu_functions || \
15         echo "sed menu_functions failed"