include Config
-
-
-
VER = 2008-04-13
THISAPP = ffmpeg-export-$(VER)
DL_FILE = $(THISAPP).tar.bz2
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = ffmpeg
-PAK_VER = 1
+PAK_VER = 2
-DEPS = ""
+DEPS = "sdl lame libvorbis xvid"
###############################################################################
# Top-level Rules
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr \
+ ln -s $(THISAPP) /usr/src/ffmpeg
+ cd $(DIR_SRC)/ffmpeg && ./configure --prefix=/usr \
--enable-shared \
--enable-postproc \
--enable-gpl
- cd $(DIR_APP) && make
- cd $(DIR_APP) && make install
- cd $(DIR_APP) && make install-libs
+ 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)
+# @rm -rf $(DIR_APP)
@$(POSTBUILD)