deb: added mod_mysql, removed mod_py from sems pkg

sayer/1.4-spce2.6
debian 16 years ago
parent b67b571ce2
commit 5ede8b48c2

@ -4,7 +4,7 @@ COREPATH = $(DSMPATH)/../../core
include $(COREPATH)/../Makefile.defs
exclude_dsm_modules = mod_mysql mod_aws
exclude_dsm_modules ?= mod_mysql mod_aws
ifneq ($(USE_MONITORING), yes)
exclude_dsm_modules += mod_monitoring
@ -15,7 +15,6 @@ dsm_modules = $(filter-out $(subst ;, ,$(exclude_dsm_modules))\
$(wildcard Makefile*) lib CMakeLists.txt, \
$(wildcard *) )
.PHONY: all
all: modules

@ -1,8 +1,8 @@
Source: sems
Section: net
Priority: optional
Maintainer: Stefan Sayer <sayer@iptel.org>
Build-Depends: debhelper (>= 4), libspeex-dev, flite-dev, libspandsp-dev, libssl-dev, python-dev, sip4, python-sip4-dev, openssl, libev-dev
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
Standards-Version: 3.5.2
Package: sems

@ -21,6 +21,8 @@ PYTHON_MODULES=ivr py_sems conf_auth mailbox pin_collect
EXCLUDED_MODULES=gateway examples mp3
EXCLUDED_DSM_MODULES=mod_aws
EXCLUDED_DSM_PY_MODULES=mod_aws mod_py
CPPFLAGS += -DHAVE_XMLRPCPP_SSL
# for older than lenny add:
# -DHAVE_OLD_SPANDSP_CALLBACK
@ -47,7 +49,10 @@ build-stamp: configure-stamp
# Add here commands to compile the package.
USE_SPANDSP=yes LONG_DEBUG_MESSAGE=yes CPPFLAGS="$(CPPFLAGS)" \
$(MAKE) \
cfg-target=/etc/sems/ prefix=/usr exclude_app_modules="$(EXCLUDED_MODULES)" DESTDIR=$(CURDIR)/debian/sems
cfg-target=/etc/sems/ prefix=/usr \
exclude_app_modules="$(EXCLUDED_MODULES)" \
exclude_dsm_modules="$(EXCLUDED_DSM_MODULES)" \
DESTDIR=$(CURDIR)/debian/sems
#/usr/bin/docbook-to-man debian/ser.sgml > ser.1
touch build-stamp
@ -75,7 +80,9 @@ install: build
cfg-target=/etc/sems/
USE_SPANDSP=yes LONG_DEBUG_MESSAGE=yes CPPFLAGS="$(CPPFLAGS)" \
$(MAKE) -C apps/ install exclude_app_modules="$(EXCLUDED_MODULES) $(PYTHON_MODULES)" \
$(MAKE) -C apps/ install \
exclude_app_modules="$(EXCLUDED_MODULES) $(PYTHON_MODULES)" \
exclude_dsm_modules="$(EXCLUDED_DSM_PY_MODULES)" \
DESTDIR=$(CURDIR)/debian/sems \
prefix=/usr \
cfg-target=/etc/sems/
@ -85,7 +92,15 @@ install: build
# install only the python modules
USE_SPANDSP=yes LONG_DEBUG_MESSAGE=yes CPPFLAGS="$(CPPFLAGS)" \
$(MAKE) -C apps/ install app_modules="$(PYTHON_MODULES)" \
$(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/

Loading…
Cancel
Save