mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-14 05:06:37 +00:00
29 lines
763 B
Bash
29 lines
763 B
Bash
#!/bin/bash
|
|
set -e
|
|
set -x
|
|
|
|
# Build Icecast from source
|
|
apt-get install -q -y --no-install-recommends \
|
|
build-essential libxml2 libxslt1-dev libvorbis-dev libssl-dev libcurl4-openssl-dev openssl
|
|
|
|
mkdir -p /bd_build/stations/icecast_build
|
|
cd /bd_build/stations/icecast_build
|
|
|
|
git clone https://github.com/karlheyes/icecast-kh.git .
|
|
git checkout 4e3a1ae935c2d002aa54f218465125989e563dd5
|
|
|
|
./configure
|
|
make
|
|
make install
|
|
|
|
# Remove build tools
|
|
apt-get remove --purge -y build-essential libssl-dev libcurl4-openssl-dev
|
|
|
|
# Copy AzuraCast Icecast customizations
|
|
mkdir -p /bd_build/stations/icecast_customizations
|
|
cd /bd_build/stations/icecast_customizations
|
|
|
|
git clone https://github.com/AzuraCast/icecast-kh-custom-files.git .
|
|
|
|
cp -r web/* /usr/local/share/icecast/web
|