cd ~/compile/ rm -r ~/compile/util-macros-1.19.0 mkdir util-macros-1.19.0 cd ~/compile/util-macros-1.19.0 git clone -q -b util-macros-1.19.0 git://anongit.freedesktop.org/xorg/util/macros mv -v macros/* . rm -r macros find . -type f \( -exec sed -i s/"\/usr\/bin\/perl"/"\/ffp\/bin\/perl"/ {} \; , -exec sed -i s/"\/usr\/bin\/python"/"\/ffp\/bin\/python"/ {} \; , -exec sed -i s/"\/usr\/bin\/bash"/"\/ffp\/bin\/bash"/ {} \; , -exec sed -i s/"\/usr\/bin\/sh"/"\/ffp\/bin\/sh"/ {} \; , -exec sed -i s/"\/usr\/bin\/env"/"\/ffp\/bin\/env"/ {} \; , -exec sed -i s/"\/bin\/bash"/"\/ffp\/bin\/bash"/ {} \; , -exec sed -i s/"\/bin\/sh"/"\/ffp\/bin\/sh"/ {} \; , -exec sed -i s/"\/bin\/env"/"\/ffp\/bin\/env"/ {} \; , -exec sed -i s/"\/ffp\/ffp\/"/"\/ffp\/"/ {} \; \) export BUILD_FLAGS="-march=armv5te -mfloat-abi=soft -mabi=aapcs-linux -pthread -O2 -lintl -Wall -I/ffp/include" export LDFLAGS="-L/ffp/lib -lintl" export CPPFLAGS="$BUILD_FLAGS" export CXXFLAGS="$BUILD_FLAGS" export CFLAGS="$BUILD_FLAGS" export LC_ALL=POSIX ./autogen.sh --prefix=/ffp ./configure --help > configure.help.txt ./configure --prefix=/ffp rm -r $HOME/temp/util-macros-1.19.0 make install DESTDIR=$HOME/temp/util-macros-1.19.0 cd $HOME/temp/util-macros-1.19.0 ls -l /tmp/util-maceos-* ls -l ~/ffp_0.7_armv5/packages/util-maceos-* makepkg util-macros 1.19.0 0 mv -v /tmp/util-maceos-* ~/ffp_0.7_armv5/packages