]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7019 add support for building on ubuntu trusty and utopic
authorSteven Ayre <steveayre@gmail.com>
Thu, 20 Nov 2014 18:40:01 +0000 (18:40 +0000)
committerSteven Ayre <steven.ayre@voxygen.co.uk>
Fri, 21 Nov 2014 17:56:57 +0000 (17:56 +0000)
debian/bootstrap.sh

index b179f594c023250d5547b148bbb886c3ee315611..33adae609529647146c09bf62a902cfc99838719 100755 (executable)
@@ -7,7 +7,9 @@ conf_dir="../conf"
 lang_dir="../conf/vanilla/lang"
 fs_description="FreeSWITCH is a scalable open source cross-platform telephony platform designed to route and interconnect popular communication protocols using audio, video, text or any other form of media."
 mod_build_depends="." mod_depends="." mod_recommends="." mod_suggests="."
-supported_distros="squeeze wheezy jessie sid"
+supported_debian_distros="squeeze wheezy jessie sid"
+supported_ubuntu_distros="trusty utopic"
+supported_distros=" $supported_debian_distros $supported_ubuntu_distros "
 avoid_mods=(
   applications/mod_limit
   applications/mod_mongo
@@ -50,6 +52,10 @@ avoid_mods_squeeze=(
   formats/mod_vlc
   languages/mod_managed
 )
+avoid_mods_trusty=(
+)
+avoid_mods_utopic=(
+)
 manual_pkgs=(
 freeswitch-all
 freeswitch
@@ -277,9 +283,11 @@ list_freeswitch_all_dbg_replaces () {
 
 print_source_control () {
   local libtool_dep="libtool, libtool-bin"
-  if test "$codename" = wheezy || test "$codename" = squeeze; then
-    libtool_dep="libtool"
-  fi
+  case "$codename" in
+    squeeze|wheezy|trusty)
+      libtool_dep="libtool"
+      ;;
+  esac
 cat <<EOF
 Source: freeswitch
 Section: comm