mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Merge branch 'master' into otr
This commit is contained in:
commit
f0f2c7957f
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
STATUS=development
|
||||||
|
|
||||||
debian_prepare()
|
debian_prepare()
|
||||||
{
|
{
|
||||||
echo
|
echo
|
||||||
@ -10,7 +12,7 @@ debian_prepare()
|
|||||||
echo
|
echo
|
||||||
echo Profanity installer... installing dependencies
|
echo Profanity installer... installing dependencies
|
||||||
echo
|
echo
|
||||||
sudo apt-get -y install git autoconf libssl-dev libexpat1-dev libncursesw5-dev libglib2.0-dev libnotify-dev libcurl3-dev libxss-dev
|
sudo apt-get -y install git automake autoconf libssl-dev libexpat1-dev libncursesw5-dev libglib2.0-dev libnotify-dev libcurl3-dev libxss-dev
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,7 +38,13 @@ cygwin_prepare()
|
|||||||
chmod +x apt-cyg
|
chmod +x apt-cyg
|
||||||
mv apt-cyg /usr/local/bin/
|
mv apt-cyg /usr/local/bin/
|
||||||
|
|
||||||
apt-cyg install make gcc automake autoconf pkg-config openssl-devel libexpat-devel zlib-devel libncurses-devel libncursesw-devel libglib2.0-devel libcurl-devel libidn-devel libssh2-devel libkrb5-devel openldap-devel
|
if [ -n "$CYG_MIRROR" ]; then
|
||||||
|
apt-cyg -m $CYG_MIRROR install git make gcc-core m4 automake autoconf pkg-config openssl-devel libexpat-devel zlib-devel libncursesw-devel libglib2.0-devel libcurl-devel libidn-devel libssh2-devel libkrb5-devel openldap-devel
|
||||||
|
else
|
||||||
|
apt-cyg install git make gcc-core m4 automake autoconf pkg-config openssl-devel libexpat-devel zlib-devel libncursesw-devel libglib2.0-devel libcurl-devel libidn-devel libssh2-devel libkrb5-devel openldap-devel
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
ln -s /usr/bin/gcc-3.exe /usr/bin/gcc.exe
|
ln -s /usr/bin/gcc-3.exe /usr/bin/gcc.exe
|
||||||
|
|
||||||
export LIBRARY_PATH=/usr/local/lib/
|
export LIBRARY_PATH=/usr/local/lib/
|
||||||
@ -62,6 +70,9 @@ install_profanity()
|
|||||||
echo
|
echo
|
||||||
echo Profanity installer... installing Profanity
|
echo Profanity installer... installing Profanity
|
||||||
echo
|
echo
|
||||||
|
if [ "${STATUS}" = "development" ]; then
|
||||||
|
./bootstrap.sh
|
||||||
|
fi
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
@ -88,6 +99,9 @@ cyg_install_profanity()
|
|||||||
echo
|
echo
|
||||||
echo Profanity installer... installing Profanity
|
echo Profanity installer... installing Profanity
|
||||||
echo
|
echo
|
||||||
|
if [ "${STATUS}" = "development" ]; then
|
||||||
|
./bootstrap.sh
|
||||||
|
fi
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
@ -109,6 +123,13 @@ cleanup()
|
|||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
while getopts m: opt
|
||||||
|
do
|
||||||
|
case "$opt" in
|
||||||
|
m) CYG_MIRROR=$OPTARG;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
OS=`uname -s`
|
OS=`uname -s`
|
||||||
DIST=unknown
|
DIST=unknown
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user