mirror of https://github.com/coturn/coturn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
433 B
26 lines
433 B
#!/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 svn"
|
|
sudo yum -y install ${PACKS}
|
|
ER=$?
|
|
if ! [ ${ER} -eq 0 ] ; then
|
|
echo "Cannot install packages ${PACKS}"
|
|
exit -1
|
|
fi
|
|
|
|
|