[prev in list] [next in list] [prev in thread] [next in thread]
List: semsdev
Subject: [Semsdev] git:refs/tags/1.5.0sbcdev: frafos specific sems build
From: Raphael Coeffic <rco () iptel ! org>
Date: 2012-07-03 13:28:37
Message-ID: 20120703132837.5F37BEF804E () rimmer ! ryngle ! com
[Download RAW message or body]
Module: sems
Branch: refs/tags/1.5.0sbcdev
Commit: 5307c048de48c35bfd5c52542d588818885c4f41
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=5307c048de48c35bfd5c52542d588818885c4f41
Author: Stefan Sayer <stefan.sayer@googlemail.com>
Committer: Stefan Sayer <stefan.sayer@googlemail.com>
Date: Wed Oct 12 15:33:51 2011 +0200
frafos specific sems build
---
pkg/debian/control | 16 ++++++++--------
pkg/debian/rules | 37 +++++++++++++++++++++++--------------
2 files changed, 31 insertions(+), 22 deletions(-)
diff --git a/pkg/debian/control b/pkg/debian/control
index 42f832a..6dcb282 100644
--- a/pkg/debian/control
+++ b/pkg/debian/control
@@ -2,7 +2,7 @@ Source: sems
Section: net
Priority: optional
Maintainer: Stefan Sayer <stefan.sayer@gmail.com>
-Build-Depends: debhelper (>= 4), libspeex-dev, flite-dev, libspandsp-dev, \
libssl-dev, python-dev, sip4, python-sip4-dev, openssl, libev-dev, libmysql++-dev \
+Build-Depends: debhelper (>= 4), libspeex-dev, flite-dev, libspandsp-dev, \
libssl-dev, python-dev, openssl, libev-dev, libmysql++-dev Standards-Version: 3.5.2
Package: sems
@@ -15,12 +15,12 @@ Description: SIP Express Media Server, very fast and flexible SIP \
media server server for SIP (RFC3261) based VoIP services. It features voicemail, \
conferencing, announcements, pre-call announcements, prepaid service, calling card \
service etc.
-Package: sems-python-modules
-Architecture: any
-Depends: ${shlibs:Depends}, sems (= ${Source-Version})
-Description: contains the python modules for SEMS
- This has been split out of the main SEMS package, so that SEMS will not
- depend upon python. This module will enable you to use the applications using the \
embedded
- python interpreter and script new applications in python.
+#Package: sems-python-modules
+#Architecture: any
+#Depends: ${shlibs:Depends}, sems (= ${Source-Version})
+#Description: contains the python modules for SEMS
+# This has been split out of the main SEMS package, so that SEMS will not
+# depend upon python. This module will enable you to use the applications using the \
embedded +# python interpreter and script new applications in python.
diff --git a/pkg/debian/rules b/pkg/debian/rules
index 3aad0a8..8f68b64 100755
--- a/pkg/debian/rules
+++ b/pkg/debian/rules
@@ -17,6 +17,8 @@ export DH_VERBOSE=1
# force no striping (always include debug symbols for now)
export DEB_BUILD_OPTIONS:="$(DEB_BUILD_OPTIONS) nostrip"
+
+APP_MODULES=sbc monitoring session_timer xmlrpc2di
PYTHON_MODULES=ivr conf_auth mailbox pin_collect
EXCLUDED_MODULES=gateway examples mp3 twit
@@ -50,6 +52,7 @@ build-stamp: configure-stamp
USE_SPANDSP=yes LONG_DEBUG_MESSAGE=yes CPPFLAGS="$(CPPFLAGS)" \
$(MAKE) \
cfg-target=/etc/sems/ prefix=/usr \
+ app_modules="$(APP_MODULES)" \
exclude_app_modules="$(EXCLUDED_MODULES)" \
exclude_dsm_modules="$(EXCLUDED_DSM_MODULES)" \
DESTDIR=$(CURDIR)/debian/sems
@@ -79,8 +82,14 @@ install: build
prefix=/usr \
cfg-target=/etc/sems/
+ $(MAKE) -C tools/ install \
+ DESTDIR=$(CURDIR)/debian/sems \
+ prefix=/usr \
+ cfg-target=/etc/sems/
+
USE_SPANDSP=yes LONG_DEBUG_MESSAGE=yes CPPFLAGS="$(CPPFLAGS)" \
$(MAKE) -C apps/ install \
+ app_modules="$(APP_MODULES)" \
exclude_app_modules="$(EXCLUDED_MODULES) $(PYTHON_MODULES)" \
exclude_dsm_modules="$(EXCLUDED_DSM_PY_MODULES)" \
DESTDIR=$(CURDIR)/debian/sems \
@@ -90,20 +99,20 @@ install: build
# fix etc/ser dir location
# mv -f $(CURDIR)/debian/ser/usr/etc $(CURDIR)/debian/ser
-# install only the python modules
- USE_SPANDSP=yes LONG_DEBUG_MESSAGE=yes CPPFLAGS="$(CPPFLAGS)" \
- $(MAKE) -C apps/ install \
- app_modules="$(PYTHON_MODULES)" \
- DESTDIR=$(CURDIR)/debian/sems-python-modules \
- prefix=/usr \
- cfg-target=/etc/sems/
-
-# install mod_py DSM module
- USE_SPANDSP=yes LONG_DEBUG_MESSAGE=yes CPPFLAGS="$(CPPFLAGS)" \
- $(MAKE) -C apps/dsm/mods/mod_py install \
- DESTDIR=$(CURDIR)/debian/sems-python-modules \
- prefix=/usr \
- cfg-target=/etc/sems/
+# # install only the python modules
+# USE_SPANDSP=yes LONG_DEBUG_MESSAGE=yes CPPFLAGS="$(CPPFLAGS)" \
+# $(MAKE) -C apps/ install \
+# app_modules="$(PYTHON_MODULES)" \
+# DESTDIR=$(CURDIR)/debian/sems-python-modules \
+# prefix=/usr \
+# cfg-target=/etc/sems/
+
+# # install mod_py DSM module
+# USE_SPANDSP=yes LONG_DEBUG_MESSAGE=yes CPPFLAGS="$(CPPFLAGS)" \
+# $(MAKE) -C apps/dsm/mods/mod_py install \
+# DESTDIR=$(CURDIR)/debian/sems-python-modules \
+# prefix=/usr \
+# cfg-target=/etc/sems/
# This single target is used to build all the packages, all at once, or
# one at a time. So keep in mind: any options passed to commands here will
_______________________________________________
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic