mirror of
https://github.com/coturn/coturn.git
synced 2025-05-14 09:36:49 +08:00
27 lines
438 B
Bash
Executable File
27 lines
438 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Common preparation script.
|
|
|
|
. ./build.settings.sh
|
|
|
|
# DIRS
|
|
|
|
rm -rf ${BUILDDIR}
|
|
|
|
mkdir -p ${BUILDDIR}
|
|
mkdir -p ${BUILDDIR}/SOURCES
|
|
mkdir -p ${BUILDDIR}/SPECS
|
|
mkdir -p ${BUILDDIR}/RPMS
|
|
mkdir -p ${BUILDDIR}/tmp
|
|
|
|
# Common packs
|
|
|
|
PACKS="make gcc redhat-rpm-config rpm-build doxygen openssl-devel git wget"
|
|
sudo yum -y install ${PACKS}
|
|
ER=$?
|
|
if ! [ ${ER} -eq 0 ] ; then
|
|
echo "Cannot install packages ${PACKS}"
|
|
exit -1
|
|
fi
|
|
|