3 ## Author : stephane.piskorski@parrot.com
4 ## Date : 19th,Oct. 2010
9 if [ `cat ./temporary_file | grep $1 | wc -l` -eq 0 ] ; then
16 packages="$packages$(check $1)";
22 if [ `which uname` ] ; then
23 if [ `uname -a | grep Ubuntu | wc -l` ] ; then
25 echo "\033[31mChecking required Ubuntu packages ...\033[0m";
27 if [ ! -e ./temporary_file ] ; then # check that the temp file does not exist
29 dpkg -l > ./temporary_file;
31 #To use FFMPEG recording
32 #verify "libavformat-dev";
33 #verify "libavcodec-dev";
34 #verify "libavutil-dev";
35 #verify "libswscale-dev";
36 #verify "libavfilter-dev";
38 #To use the Wiimote in Navigation
39 #verify "libcwiid1-dev";
40 #verify "libbluetooth-dev";
42 #To compile Navigation
43 #verify "libsdl1.2-dev";
44 #verify "libgtk2.0-dev";
46 #verify "libudev-dev";
49 if [ "$packages" != "" ] ; then
50 echo "You should install the following packages to compile the Mykonos project with Ubuntu:\n $packages";
51 echo "Do you want to install them now [y/n] ?";
53 if [ "$user_answer" = "y" ]; then
54 sudo apt-get install $packages;