Add a patch that removes unnecessary directories.

This commit is contained in:
Krystian Bacławski
2014-01-02 21:36:08 +01:00
parent d8d9ed02f2
commit 93d0fb607d
3 changed files with 59 additions and 7 deletions
+10 -6
View File
@@ -107,6 +107,10 @@ function unpack_sources {
fi
unpack_clean "${FD2SFD}" "${FD2SFD_SRC}"
pushd "${FD2SFD}"
apply_patches "${FD2SFD}"
popd
unpack_clean "${SFDC}" "${SFDC_SRC}"
pushd "${SFDC}"
apply_patches "${SFDC}"
@@ -394,18 +398,18 @@ function process_ndk {
[ -f "${STAMP}/process-ndk" ] && return 0
pushd "${BUILD_DIR}"
rm -rf "${SFDC}"
cp -a "${SOURCES}/${SFDC}" "${SFDC}"
cd "${SFDC}"
rm -rf "${FD2SFD}"
cp -a "${SOURCES}/${FD2SFD}" "${FD2SFD}"
cd "${FD2SFD}"
./configure \
--prefix="${PREFIX}"
make && make install
popd
pushd "${BUILD_DIR}"
rm -rf "${FD2SFD}"
cp -a "${SOURCES}/${FD2SFD}" "${FD2SFD}"
cd "${FD2SFD}"
rm -rf "${SFDC}"
cp -a "${SOURCES}/${SFDC}" "${SFDC}"
cd "${SFDC}"
./configure \
--prefix="${PREFIX}"
make && make install