| 35 | 2. Download cppunit 1.12.1 tarball to mgdev/Oem from [http://sourceforge.net/projects/cppunit/files/cppunit/1.12.1/ SourceForge Download Site] |
| 36 | {{{ |
| 37 | cd mgdev/Oem |
| 38 | tar -xvvzf cppunit-1.12.1.tar.gz |
| 39 | }}} |
| 40 | open ''build_oem.sh'' in an editor, locate the following code snippet and replace the version number from 1.9.14 to 1.12.1 |
| 41 | {{{ |
| 42 | #********************************************************** |
| 43 | # Build CPPUNIT 1.9.14 |
| 44 | # Notes: none |
| 45 | #********************************************************** |
| 46 | |
| 47 | init_cppunit() |
| 48 | { |
| 49 | LIB_NAME="CPPUNIT 1.9.14" |
| 50 | } |
| 51 | |
| 52 | build_cppunit() |
| 53 | { |
| 54 | pushd cppunit-1.9.14 |
| 55 | sh ./configure --prefix="${INSTALLDIR}" |
| 56 | make |
| 57 | check_build |
| 58 | popd |
| 59 | } |
| 60 | |
| 61 | clean_cppunit() |
| 62 | { |
| 63 | pushd cppunit-1.9.14 |
| 64 | sh ./configure --prefix="${INSTALLDIR}" |
| 65 | make clean |
| 66 | check_clean |
| 67 | popd |
| 68 | } |
| 69 | }}} |
| 70 | |