Browse code

more dependencies, and build flags

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1185 8eb893ce-cfd4-0310-b710-fb5ebe64c474

Stefan Sayer authored on 08/12/2008 19:12:15
Showing 2 changed files
... ...
@@ -2,7 +2,7 @@ Source: sems
2 2
 Section: net
3 3
 Priority: optional
4 4
 Maintainer: Stefan Sayer <sayer@iptel.org>
5
-Build-Depends: debhelper (>= 4), libspeex-dev, flite-dev, libxmlrpc++-dev, libspandsp-dev
5
+Build-Depends: debhelper (>= 4), libspeex-dev, flite-dev, libxmlrpc++-dev, libspandsp-dev, libssl-dev, python-dev
6 6
 Standards-Version: 3.5.2
7 7
 
8 8
 Package: sems
... ...
@@ -23,8 +23,9 @@ export DEB_BUILD_OPTIONS:="$(DEB_BUILD_OPTIONS) nostrip"
23 23
 
24 24
 PYTHON_MODULES=ivr py_sems conf_auth mailbox pin_collect
25 25
 
26
-EXCLUDED_MODULES=mp3 examples 
26
+EXCLUDED_MODULES=mp3 examples gateway
27 27
 
28
+CPPFLAGS += -DHAVE_XMLRPCPP_SSL -DHAVE_OLD_SPANDSP_CALLBACK
28 29
 
29 30
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
30 31
 	CFLAGS += -g
... ...
@@ -36,7 +37,7 @@ endif
36 37
 configure: configure-stamp
37 38
 configure-stamp:
38 39
 	dh_testdir
39
-	# Add here commands to configure the package.
40
+# Add here commands to configure the package.
40 41
 
41 42
 	touch configure-stamp
42 43
 
... ...
@@ -46,7 +47,7 @@ build-stamp: configure-stamp
46 47
 	dh_testdir
47 48
 
48 49
 # Add here commands to compile the package.
49
-	$(MAKE) cfg-target=/etc/sems/ prefix=/usr exclude_modules="$(EXCLUDED_MODULES)" DESTDIR=$(CURDIR)/debian/sems 
50
+	USE_SPANDSP=yes CPPFLAGS="$(CPPFLAGS)" $(MAKE) cfg-target=/etc/sems/ prefix=/usr exclude_modules="$(EXCLUDED_MODULES)" DESTDIR=$(CURDIR)/debian/sems 
50 51
 #/usr/bin/docbook-to-man debian/ser.sgml > ser.1
51 52
 
52 53
 	touch build-stamp
... ...
@@ -71,7 +72,7 @@ install: build
71 72
 		DESTDIR=$(CURDIR)/debian/sems \
72 73
 		prefix=/usr \
73 74
 		cfg-target=/etc/sems/
74
-							
75
+
75 76
 
76 77
 	$(MAKE) -C apps/ install exclude_modules="$(EXCLUDED_MODULES) $(PYTHON_MODULES)" \
77 78
 		DESTDIR=$(CURDIR)/debian/sems \