- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/ffmpeg-0.4.9-pre1-gcc4-1.patch
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/ffmpeg-0.4.9-pre1-amr_fixes-1.patch
- cd $(DIR_APP) && sed -i "s/static uint64/const uint64/" libavcodec/liba52/resample_mmx.c
- cd $(DIR_APP) && ./configure --prefix=/usr --enable-shared --enable-gpl \
- --enable-pp --enable-pthreads --disable-ffplay \
- --enable-xvid --disable-mmx
- cd $(DIR_APP) && make
- cd $(DIR_APP) && make install
- @rm -rf $(DIR_APP)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+ ln -s $(THISAPP) /usr/src/ffmpeg
+ cd $(DIR_SRC)/ffmpeg && ./configure --prefix=/usr \
+ --enable-shared \
+ --enable-postproc \
+ --enable-pthreads \
+ --enable-gpl
+ cd $(DIR_SRC)/ffmpeg && make $(MAKETUNING) $(EXTRA_MAKE)
+ cd $(DIR_SRC)/ffmpeg && make install
+ cd $(DIR_SRC)/ffmpeg && make install-libs
+ ldconfig
+# @rm -rf $(DIR_APP)