Files
go-astiav/.github/workflows/Makefile
2025-10-27 17:04:25 +00:00

15 lines
357 B
Makefile

version=
srcPath=
patchPath=
install-ffmpeg:
rm -rf $(srcPath)
mkdir -p $(srcPath)
cd $(srcPath) && git clone https://github.com/FFmpeg/FFmpeg .
cd $(srcPath) && git checkout $(version)
ifneq "" "$(patchPath)"
cd $(srcPath) && git apply $(patchPath)
endif
cd $(srcPath) && ./configure --prefix=..
cd $(srcPath) && make
cd $(srcPath) && make install