mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-31 00:37:39 +08:00
21 lines
397 B
Bash
Executable File
21 lines
397 B
Bash
Executable File
#!/bin/bash
|
|
cd ..
|
|
git clone --depth=1 https://github.com/xia-chu/ZLMediaKit.git
|
|
cd ZLMediaKit
|
|
git submodule init
|
|
git submodule update
|
|
|
|
sudo apt-get install cmake
|
|
sudo apt-get install libssl-dev
|
|
#sudo apt-get install libsdl-dev
|
|
#sudo apt-get install libavcodec-dev
|
|
#sudo apt-get install libavutil-dev
|
|
|
|
mkdir -p linux_build
|
|
rm -rf ./build
|
|
ln -s ./linux_build build
|
|
cd linux_build
|
|
|
|
cmake ..
|
|
make -j4
|