about summary refs log tree commit diff stats
path: root/install-all.sh
diff options
context:
space:
mode:
authorwilliam <wfleming@linux-pqpb.site>2014-02-21 10:33:58 +0000
committerwilliam <wfleming@linux-pqpb.site>2014-02-21 10:33:58 +0000
commitb2cb466227fd2046f4f0e4c788f7f123d5c0a4eb (patch)
treef3032708eda52a95fa79efdb4fa499415cc37814 /install-all.sh
parent037ca818214dad46745576bf9af740f032ca0fc7 (diff)
downloadprofani-tty-b2cb466227fd2046f4f0e4c788f7f123d5c0a4eb.tar.gz
Added opensuse support for the install. Now getting an error relating
ncurses wget_wch after the libstrophe compile
Diffstat (limited to 'install-all.sh')
-rwxr-xr-xinstall-all.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/install-all.sh b/install-all.sh
index 656d9d90..4314d342 100755
--- a/install-all.sh
+++ b/install-all.sh
@@ -27,6 +27,14 @@ fedora_prepare()
     sudo yum -y install gcc git autoconf automake openssl-devel.$ARCH expat-devel.$ARCH ncurses-devel.$ARCH  glib2-devel.$ARCH libnotify-devel.$ARCH libcurl-devel.$ARCH libXScrnSaver-devel.$ARCH libotr3-devel.$ARCH
 }
 
+opensuse_prepare()
+{
+ echo
+ echo Profanity installer...installing dependencies
+ echo
+ sudo zypper -n in gcc git automake autoconf libgnutls-openssl-devel expat libexpat-devel ncurses-devel glib2-devel libnotify-devel libcurl-devel libXScrnSaver-devel libotr-devel
+}
+
 cygwin_prepare()
 {
     echo
@@ -138,6 +146,8 @@ if [ "${OS}" = "Linux" ]; then
         DIST=fedora
     elif [ -f /etc/debian_version ]; then
         DIST=debian
+    elif [ -f /etc/os-release ]; then
+        DIST=opensuse
     fi
 else
     echo $OS | grep -i cygwin
@@ -159,6 +169,10 @@ debian)     debian_prepare
             install_lib_strophe
             install_profanity
             ;;
+opensuse)   opensuse_prepare
+            install_lib_strophe
+            install_profanity
+            ;;
 cygwin)     cygwin_prepare
             cyg_install_lib_strophe
             cyg_install_profanity