packages: net/freeswitch: Makefile cleanup. Removed duplicate var from site rules...
[packages.git] / net / freeswitch / Makefile
1 # (C) 2009 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5 #
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=freeswitch
10 PKG_VERSION:=1.0.6
11 PKG_RELEASE:=1
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_SOURCE_URL:=http://files.freeswitch.org/
16 PKG_MD5SUM:=388effee587887a81fe7f411b7350590
17
18 PKG_FIXUP:=libtool
19
20 FS_MOD_AVAILABLE:= \
21         alsa \
22         amr \
23         amrwb \
24         bv \
25         cdr-csv \
26         celt \
27         cepstral \
28         cidlookup \
29         cluechoo \
30         commands \
31         conference \
32         console \
33         curl \
34         dahdi-codec \
35         dialplan-asterisk \
36         dialplan-directory \
37         dialplan-xml \
38         dingaling \
39         directory \
40         distributor \
41         dptools \
42         easyroute \
43         enum \
44         erlang-event \
45         esf \
46         event-multicast \
47         event-socket \
48         expr \
49         fax \
50         fifo \
51         file-string \
52         flite \
53         fsv \
54         g723-1 \
55         g729 \
56         h26x \
57         h323 \
58         ilbc \
59         lcr \
60         ldap \
61         limit \
62         local-stream \
63         logfile \
64         loopback \
65         lua \
66         managed \
67         memcache \
68         native-file \
69         nibblebill \
70         opal \
71         openzap \
72         perl \
73         pocketsphinx \
74         portaudio \
75         portaudio-stream \
76         python \
77         radius-cdr \
78         rss \
79         say-de \
80         say-en \
81         say-es \
82         say-fr \
83         say-it \
84         say-nl \
85         say-ru \
86         say-th \
87         say-zh \
88         shell-stream \
89         shout \
90         silk \
91         siren \
92         skinny \
93         skypopen \
94         sangoma-codec \
95         snapshot \
96         snipe-hunt \
97         sndfile \
98         snom \
99         sofia \
100         soundtouch \
101         speex \
102         spidermonkey \
103         spidermonkey-core-db \
104         spidermonkey-curl \
105         spidermonkey-odbc \
106         spidermonkey-socket \
107         spidermonkey-teletone \
108         spy \
109         stress \
110         syslog \
111         tone-stream \
112         unimrcp \
113         valet-parking \
114         vmd \
115         voicemail \
116         voipcodecs \
117         xml-cdr \
118         xml-curl \
119         xml-ldap \
120         xml-rpc \
121         yaml \
122
123 PKG_CONFIG_DEPENDS:= \
124         $(patsubst %,CONFIG_PACKAGE_freeswitch-mod-%,$(FS_MOD_AVAILABLE)) \
125
126 include $(INCLUDE_DIR)/package.mk
127
128 define Package/freeswitch/Default
129   SECTION:=net
130   CATEGORY:=Network
131   URL:=http://www.freeswitch.org/
132 endef
133
134
135 define Package/freeswitch
136 $(call Package/freeswitch/Default)
137   TITLE:=FreeSWITCH open source telephony platform
138   DEPENDS:= +libopenssl +libreadline +libncurses +libpthread +libstdcpp
139   MENU:=1
140 endef
141
142 define Package/freeswitch/description
143   FreeSWITCH is an open source telephony platform designed to 
144   facilitate the creation of voice and chat driven products scaling 
145   from a soft-phone up to a soft-switch.
146 endef
147
148
149
150 define Package/freeswitch-default
151 $(call Package/freeswitch/Default)
152   TITLE:=FreeSWITCH default config
153   DEPENDS:= freeswitch \
154                 +freeswitch-mod-commands \
155                 +freeswitch-mod-conference \
156                 +freeswitch-mod-console \
157                 +freeswitch-mod-curl \
158                 +freeswitch-mod-dialplan-xml \
159                 +freeswitch-mod-dptools \
160                 +freeswitch-mod-event-socket \
161                 +freeswitch-mod-g723-1 \
162                 +freeswitch-mod-ilbc \
163                 +freeswitch-mod-local-stream \
164                 +freeswitch-mod-logfile \
165                 +freeswitch-mod-lua \
166                 +freeswitch-mod-native-file \
167                 +freeswitch-mod-sndfile \
168                 +freeswitch-mod-sofia \
169                 +freeswitch-mod-speex \
170                 +freeswitch-mod-tone-stream \
171                 +freeswitch-mod-voipcodecs \
172                 +freeswitch-mod-xml-curl \
173                 +freeswitch-mod-xml-rpc
174 endef
175
176 define Package/freeswitch-minimal
177 $(call Package/freeswitch/Default)
178   TITLE:=FreeSWITCH minimal config
179   DEPENDS:= freeswitch \
180                 +freeswitch-mod-commands \
181                 +freeswitch-mod-console \
182                 +freeswitch-mod-curl \
183                 +freeswitch-mod-dialplan-xml \
184                 +freeswitch-mod-dptools \
185                 +freeswitch-mod-local-stream \
186                 +freeswitch-mod-sndfile \
187                 +freeswitch-mod-sofia \
188                 +freeswitch-mod-tone-stream \
189                 +freeswitch-mod-voipcodecs
190 endef
191
192 define Package/freeswitch-sounds-en
193 $(call Package/freeswitch/Default)
194   TITLE:=FreeSWITCH english sounds
195   DEPENDS:= freeswitch
196 endef
197
198
199 define Package/freeswitch-sounds-moh
200 $(call Package/freeswitch/Default)
201   TITLE:=FreeSWITCH music-on-hold sounds
202   DEPENDS:= freeswitch
203 endef
204
205
206 define Package/freeswitch-tools
207 $(call Package/freeswitch/Default)
208   TITLE:=FreeSWITCH control tools
209   DEPENDS:= freeswitch
210 endef
211
212
213 define Download/files
214  define Download/$(1)
215   FILE:=$(2)
216   URL:=http://files.freeswitch.org/$(4)
217   MD5SUM:=$(3)
218  endef
219  define Prepare/$(1)
220   $(CP) $(DL_DIR)/$(2) $(PKG_BUILD_DIR)/$(5)
221  endef
222  $$(eval $$(call Download,$(1)))
223 endef
224
225 MAKE_INSTALL_TARGETS:=install
226
227 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-celt),)
228  $(eval $(call Download/files,celt,celt-0.6.1.tar.gz,2961ffb6fadb5f905d20de9f0d86e44c,downloads/libs/,libs/))
229 endif
230
231 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-curl),)
232  $(eval $(call Download/files,json-c,json-c-0.8.tar.gz,9c7b90dff16eec3063084829c382ebac,downloads/libs/,libs/))
233 endif
234
235 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-flite),)
236  $(eval $(call Download/files,flite,flite-1.3.99.tar.gz,,downloads/libs/,libs/))
237 endif
238
239 ifneq ($(CONFIG_PACKAGE_freeswitch-sounds-en),)
240  $(eval $(call Download/files,sounds-en,freeswitch-sounds-en-us-callie-8000-1.0.10.tar.gz,f7f85aaf3763673c884ec3451f1c1c3e,,))
241         MAKE_INSTALL_TARGETS+= sounds-install
242 endif
243
244 ifneq ($(CONFIG_PACKAGE_freeswitch-sounds-moh),)
245  $(eval $(call Download/files,sounds-moh,freeswitch-sounds-music-8000-1.0.8.tar.gz,f63ef3cc3507af079ae5c7b8b8a01e42,,))
246         MAKE_INSTALL_TARGETS+= moh-install
247 endif
248
249 FS_TARGET_CFLAGS = ${TARGET_CFLAGS} -DLUA_USE_LINUX $(FPIC) -std=gnu99
250 FS_TARGET_CXXFLAGS = ${TARGET_CXXFLAGS} -DLUA_USE_LINUX $(FPIC)
251 FS_TARGET_CPPFLAGS = -I. -I./lua ${TARGET_CPPFLAGS}
252
253 ifneq ($(CONFIG_USE_EGLIBC),)
254   ifeq ($(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),)
255     TARGET_CFLAGS += -DNO_GETLOGIN
256   endif
257 endif
258
259 CONFIGURE_ARGS+= \
260         --prefix="/usr/freeswitch" \
261         --bindir="/usr/bin" \
262         --libdir="/usr/lib" \
263         --sysconfdir="/etc/freeswitch" \
264         --with-modinstdir="/usr/lib/freeswitch" \
265         --enable-ipv6 \
266         \
267         --with-libcurl="$(STAGING_DIR)/usr" \
268         --with-openssl="$(STAGING_DIR)/usr" \
269         --with-random="/dev/urandom" \
270         --without-erlang \
271         --without-java \
272         --without-mysql \
273         --without-pgsql \
274         --without-python \
275         --disable-zrtp \
276
277 CONFIGURE_VARS+= \
278         config_TARGET_CC="${TARGET_CC}" \
279         config_TARGET_CFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CFLAGS}" \
280         config_TARGET_CXX="${TARGET_CXX}" \
281         config_TARGET_CXXFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CXXFLAGS}" \
282         config_TARGET_CPPFLAGS="${FS_TARGET_CPPFLAGS}" \
283         config_BUILD_CC="${HOSTCC}" \
284         config_TARGET_READLINE_INC="${FS_TARGET_CPPFLAGS}" \
285         config_TARGET_READLINE_LIBS="${TARGET_LDFLAGS} -lreadline -lncurses" \
286         config_TARGET_LIBS="${TARGET_LDFLAGS} -lpthread" \
287         CC_FOR_BUILD="${HOSTCC}" \
288         LDFLAGS_FOR_BUILD="${HOST_LDFLAGS}" \
289         CC="${TARGET_CC}" \
290         CXX="${TARGET_CXX}" \
291         CFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CFLAGS}" \
292         CXXFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CXXFLAGS}" \
293         CPPFLAGS="${FS_TARGET_CPPFLAGS}" \
294         LDFLAGS="${TARGET_LDFLAGS} -Wl,-rpath-link=\"${STAGING_DIR}/usr/lib\"" \
295         ac_cv_dev_urandom="yes" \
296         ac_cv_file_dbd_apr_dbd_mysql_c="no" \
297         ac_cv_file__dev_random="no" \
298         ac_cv_file__dev_urandom="yes" \
299         ac_cv_file___dev_urandom_="yes" \
300         ac_cv_func_mmap_fixed_mapped="yes" \
301         ac_cv_func_pthread_rwlock_init="yes" \
302         ac_cv_struct_rlimit="yes" \
303         apr_cv_mutex_recursive="yes" \
304         apr_cv_process_shared_works="no" \
305         apr_cv_tcp_nodelay_with_cork="yes" \
306         apr_cv_type_rwlock_t="yes" \
307         ac_cv_path_LIBGNUTLS_CONFIG="no" \
308
309
310 define Build/Prepare
311 $(call Build/Prepare/Default)
312         $(call Prepare/celt)
313         $(call Prepare/flite)
314         $(call Prepare/json-c)
315         $(call Prepare/sounds-en)
316         $(call Prepare/sounds-moh)
317 endef
318
319 define Build/Configure
320 $(call Build/Configure/Default)
321         $(foreach m,$(FS_MOD_AVAILABLE),
322                 $(if $(CONFIG_PACKAGE_freeswitch-mod-$(m)),
323                         $(SED) 's|^[ #]*\([^#]*/mod_$(subst -,_,$(m))\)$$$$|\1|g' $(PKG_BUILD_DIR)/modules.conf
324                 ,
325                         $(SED) 's|^\([^#]*/mod_$(subst -,_,$(m))\)$$$$|#\1|g' $(PKG_BUILD_DIR)/modules.conf
326                 )
327         )
328 endef
329
330 define Build/Compile
331         $(MAKE) -C $(PKG_BUILD_DIR) \
332                 DESTDIR="$(PKG_INSTALL_DIR)" \
333                 LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
334                 all $(MAKE_INSTALL_TARGETS)
335 endef
336
337 define Build/InstallDev
338         $(INSTALL_DIR) $(1)/usr/include/freeswitch
339         $(CP) $(PKG_INSTALL_DIR)/usr/freeswitch/include/* $(1)/usr/include/freeswitch/
340         $(INSTALL_DIR) $(1)/usr/lib
341         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreeswitch.{a,so*} $(1)/usr/lib/
342 endef
343
344 define Package/freeswitch/install
345         $(INSTALL_DIR) $(1)/usr/bin
346         $(CP) $(PKG_INSTALL_DIR)/usr/bin/freeswitch $(1)/usr/bin/
347         $(INSTALL_DIR) $(1)/usr/lib
348         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreeswitch.so.* $(1)/usr/lib/
349         $(INSTALL_DIR) $(1)/usr/lib/freeswitch
350         $(INSTALL_DIR) $(1)/etc/default
351         $(INSTALL_DATA) ./files/freeswitch.default $(1)/etc/default/freeswitch
352         $(INSTALL_DIR) $(1)/etc/init.d
353         $(INSTALL_BIN) ./files/freeswitch.init $(1)/etc/init.d/freeswitch
354         $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
355         $(INSTALL_DATA) ./files/freeswitch.hotplug $(1)/etc/hotplug.d/iface/90-freeswitch
356         $(INSTALL_DIR) $(1)/etc/config
357         $(INSTALL_DATA) ./files/freeswitch.config $(1)/etc/config/freeswitch
358 endef
359
360 define Package/freeswitch-default/install
361         $(INSTALL_DIR) $(1)/etc/freeswitch
362         $(CP) $(PKG_INSTALL_DIR)/etc/freeswitch/* $(1)/etc/freeswitch/
363 endef
364
365 define Package/freeswitch-minimal/install
366         $(INSTALL_DIR) $(1)/etc/freeswitch
367         $(CP) $(PKG_INSTALL_DIR)/etc/freeswitch/* $(1)/etc/freeswitch/
368 endef
369
370 define Package/freeswitch-sounds-en/install
371         $(INSTALL_DIR) $(1)/usr/freeswitch/sounds
372         $(CP) $(PKG_INSTALL_DIR)/usr/freeswitch/sounds/en $(1)/usr/freeswitch/sounds/
373 endef
374
375 define Package/freeswitch-sounds-moh/install
376         $(INSTALL_DIR) $(1)/usr/freeswitch/sounds
377         $(CP) $(PKG_INSTALL_DIR)/usr/freeswitch/sounds/music $(1)/usr/freeswitch/sounds/
378 endef
379
380 define Package/freeswitch-tools/install
381         $(INSTALL_DIR) $(1)/usr/bin
382         $(CP) $(PKG_INSTALL_DIR)/usr/bin/fs_cli $(1)/usr/bin/
383 endef
384
385 # 1. Name
386 # 2. Title
387 # 3. Files
388 # 4. Inter Depends
389 # 5. Extra Depends
390 define BuildPlugin
391   define Package/freeswitch-mod-$(1)
392     $$(call Package/freeswitch/Default)
393     TITLE:= FS $(2) module
394     DEPENDS:= freeswitch $$(foreach m,$(4),+freeswitch-mod-$$m) $(5)
395   endef
396
397   define Package/freeswitch-mod-$(1)/install
398         [ -z "$(3)" ] || $(INSTALL_DIR) $$(1)/usr/lib/freeswitch
399         for f in $(3); do \
400                 $(CP) \
401                         $(PKG_INSTALL_DIR)/usr/lib/freeswitch/$$$$$$$${f}.so \
402                         $$(1)/usr/lib/freeswitch/ ; \
403         done
404   endef
405
406   $$(eval $$(call BuildPackage,freeswitch-mod-$(1)))
407 endef
408
409 $(eval $(call BuildPackage,freeswitch))
410 $(eval $(call BuildPackage,freeswitch-default))
411 $(eval $(call BuildPackage,freeswitch-minimal))
412 $(eval $(call BuildPackage,freeswitch-sounds-en))
413 $(eval $(call BuildPackage,freeswitch-sounds-moh))
414 $(eval $(call BuildPackage,freeswitch-tools))
415
416 #$(eval $(call BuildPlugin,Name,Title,Files,Depends))
417 $(eval $(call BuildPlugin,alsa,Alsa endpoint,mod_alsa,,+alsa-lib))
418 $(eval $(call BuildPlugin,amr,GSM-AMR codec,mod_amr,,))
419 $(eval $(call BuildPlugin,amrwb,GSM-AMRWB,mod_amrwb,,))
420 $(eval $(call BuildPlugin,bv,codec mod_bv,mod_bv,,))
421 $(eval $(call BuildPlugin,cdr-csv,CSV-CDR handler,mod_cdr_csv,,))
422 $(eval $(call BuildPlugin,celt,CELT ultra-low delay codec,mod_celt,,+libogg))
423 $(eval $(call BuildPlugin,cepstral,Cepstral interface,mod_cepstral,,@BROKEN)) # needs <swift.h>
424 $(eval $(call BuildPlugin,cidlookup,applications mod_cidlookup,mod_cidlookup,,))
425 $(eval $(call BuildPlugin,cluechoo,Framework Demo,mod_cluechoo,,))
426 $(eval $(call BuildPlugin,commands,API commands,mod_commands,,))
427 $(eval $(call BuildPlugin,conference,Conference room,mod_conference,,))
428 $(eval $(call BuildPlugin,console,Console logger,mod_console,,))
429 $(eval $(call BuildPlugin,curl,HTTP request,mod_curl,,+libcurl))
430 $(eval $(call BuildPlugin,dahdi-codec,DAHDI codecs,mod_dahdi_codec,,))
431 $(eval $(call BuildPlugin,dialplan-asterisk,Asterisk dialplan parser,mod_dialplan_asterisk,,))
432 $(eval $(call BuildPlugin,dialplan-directory,Dialplan-Directory interface,mod_dialplan_directory,,))
433 $(eval $(call BuildPlugin,dialplan-xml,Dialplan-XML interface,mod_dialplan_xml,,))
434 $(eval $(call BuildPlugin,dingaling,Jabber interface,mod_dingaling,,+libgnutls-openssl)) 
435 $(eval $(call BuildPlugin,directory,application mod_directory,mod_directory,,))
436 $(eval $(call BuildPlugin,distributor,application mod_distributor,mod_distributor,,))
437 $(eval $(call BuildPlugin,dptools,Dialplan tools,mod_dptools,,))
438 $(eval $(call BuildPlugin,easyroute,DID routing,mod_easyroute,,))
439 $(eval $(call BuildPlugin,enum,ENUM routing,mod_enum,,))
440 $(eval $(call BuildPlugin,erlang-event,Erlang event handler,mod_erlang_event,,@BROKEN)) # needs <ei.h>
441 $(eval $(call BuildPlugin,esf,Extra SIP Functionality,mod_esf,,))
442 $(eval $(call BuildPlugin,event-multicast,Multicast event handler,mod_event_multicast,,))
443 $(eval $(call BuildPlugin,event-socket,Socket event handler,mod_event_socket,,))
444 $(eval $(call BuildPlugin,expr,Expression evaluation,mod_expr,,))
445 $(eval $(call BuildPlugin,fax,Fax,mod_fax,,@BROKEN +libjpeg)) # fails in spandsp
446 $(eval $(call BuildPlugin,fifo,FIFO,mod_fifo,,))
447 $(eval $(call BuildPlugin,file-string,File streaming,mod_file_string,,))
448 $(eval $(call BuildPlugin,flite,Festival TTS,mod_flite,,))
449 $(eval $(call BuildPlugin,fsv,Video,mod_fsv,,))
450 $(eval $(call BuildPlugin,g723-1,G.723.1 codec,mod_g723_1,,))
451 $(eval $(call BuildPlugin,g729,G.729 codec,mod_g729,,))
452 $(eval $(call BuildPlugin,h26x,H26X linear codec,mod_h26x,,))
453 $(eval $(call BuildPlugin,h323,h323 endpoint,mod_h323,,@BROKEN)) # missing header files (other packages needed)
454 $(eval $(call BuildPlugin,java,Java language interface,mod_java,,@BROKEN)) # needs java
455 $(eval $(call BuildPlugin,ilbc,ILBC codec,mod_ilbc,,))
456 $(eval $(call BuildPlugin,lcr,Least Cost Routing,mod_lcr,,))
457 $(eval $(call BuildPlugin,ldap,LDAP interface,mod_ldap,,@BROKEN)) # fails in openldap
458 $(eval $(call BuildPlugin,limit,Resource limitation,mod_limit,,))
459 $(eval $(call BuildPlugin,local-stream,Local streaming,mod_local_stream,,))
460 $(eval $(call BuildPlugin,logfile,File logger,mod_logfile,,))
461 $(eval $(call BuildPlugin,loopback,Loopback endpoint,mod_loopback,,))
462 $(eval $(call BuildPlugin,lua,Lua language interface,mod_lua,,+libstdcpp))
463 $(eval $(call BuildPlugin,managed,language mod_managed,mod_managed,,@BROKEN)) # needs Mono
464 $(eval $(call BuildPlugin,memcache,MemCached interface,mod_memcache,,@BROKEN)) # fails in libmemcached
465 $(eval $(call BuildPlugin,native-file,Native files,mod_native_file,,))
466 $(eval $(call BuildPlugin,nibblebill,Billing,mod_nibblebill,,))
467 $(eval $(call BuildPlugin,opal,Multi-Protocol endpoint,mod_opal,,@BROKEN)) # needs Opal
468 $(eval $(call BuildPlugin,openzap,Zaptel hardware interface,mod_openzap ozmod_analog ozmod_analog_em ozmod_isdn ozmod_skel ozmod_ss7_boost ozmod_zt,,+libpcap))
469 $(eval $(call BuildPlugin,perl,Perl language interface,mod_perl,,+perl @BROKEN)) # needs Perl
470 $(eval $(call BuildPlugin,pocketsphinx,PocketSphinx SR,mod_pocketsphinx,,@BROKEN)) # fails in sphinxbase
471 $(eval $(call BuildPlugin,portaudio,Local audio endpoint,mod_portaudio,,+alsa-lib))
472 $(eval $(call BuildPlugin,portaudio-stream,format mod_portaudio_stream,mod_portaudio_stream,,))
473 $(eval $(call BuildPlugin,python,Python language interface,mod_python,,+python @BROKEN)) # needs Python
474 $(eval $(call BuildPlugin,radius-cdr,Radius-CDR interface,mod_radius_cdr,,@BROKEN)) # fails in freeradius-client
475 $(eval $(call BuildPlugin,rss,RRS feeds via TTS,mod_rss,,))
476 $(eval $(call BuildPlugin,say-de,German say,mod_say_de,,))
477 $(eval $(call BuildPlugin,say-en,English say,mod_say_en,,))
478 $(eval $(call BuildPlugin,say-es,Spanish say,mod_say_es,,))
479 $(eval $(call BuildPlugin,say-fr,French say,mod_say_fr,,))
480 $(eval $(call BuildPlugin,say-it,Italian say,mod_say_it,,))
481 $(eval $(call BuildPlugin,say-nl,Dutch say,mod_say_nl,,))
482 $(eval $(call BuildPlugin,say-ru,Russian say,mod_say_ru,,))
483 $(eval $(call BuildPlugin,say-th,mod_th say,mod_say_th,,))
484 $(eval $(call BuildPlugin,say-zh,Chineese say,mod_say_zh,,))
485 $(eval $(call BuildPlugin,shell-stream,,mod_shell_stream,,))
486 $(eval $(call BuildPlugin,shout,MP3 and Shoutcast stream,mod_shout,,@BROKEN)) # needs Ogg/Vorbis
487 $(eval $(call BuildPlugin,silk,codec mod_silk,mod_silk,,))
488 $(eval $(call BuildPlugin,siren,G.722.1 codec,mod_siren,,@BROKEN)) # fails in libg722_1 - attempts to execute cross-compiled binary on host
489 $(eval $(call BuildPlugin,skinny,endpoint mod_skinny,mod_skinny,,))
490 $(eval $(call BuildPlugin,skypopen,Skype compatible endpoint,mod_skypopen,,@BROKEN)) # needs <X11/Xlib.h>
491 $(eval $(call BuildPlugin,sangoma-codec,codec sangoma-codec,mod_sangoma_codec,,@BROKEN)) # Untested
492 $(eval $(call BuildPlugin,snapshot,application mod_snapshot,mod_snapshot,,))
493 $(eval $(call BuildPlugin,snipe-hunt,application mod_snipe_hunt,mod_snipe_hunt,,))
494 $(eval $(call BuildPlugin,sndfile,Multi-Format file transcoder,mod_sndfile,,))
495 $(eval $(call BuildPlugin,snom,SNOM specific features,mod_snom,,))
496 $(eval $(call BuildPlugin,sofia,SIP,mod_sofia,,))
497 $(eval $(call BuildPlugin,soundtouch,Sound effects,mod_soundtouch,,@BROKEN)) # fails in soundtouch
498 $(eval $(call BuildPlugin,speex,Speex codec,mod_speex,,))
499 $(eval $(call BuildPlugin,spidermonkey,JavaScript,mod_spidermonkey,,@BROKEN)) # fails in js
500 $(eval $(call BuildPlugin,spidermonkey-core_db,JavaScript DB,mod_spidermonkey_core_db,,@BROKEN))
501 $(eval $(call BuildPlugin,spidermonkey-curl,JavaScript Curl,mod_spidermonkey_curl,,@BROKEN))
502 $(eval $(call BuildPlugin,spidermonkey-odbc,JavaScript ODBC,mod_spidermonkey_odbc,,@BROKEN))
503 $(eval $(call BuildPlugin,spidermonkey-socket,JavaScript socket,mod_spidermonkey_socket,,@BROKEN))
504 $(eval $(call BuildPlugin,spidermonkey-teletone,JavaScript teletone,mod_spidermonkey_teletone,,@BROKEN))
505 $(eval $(call BuildPlugin,spy,User spy,mod_spy,,))
506 $(eval $(call BuildPlugin,stress,application mod_stress,mod_stress,,))
507 $(eval $(call BuildPlugin,syslog,SysLog logger,mod_syslog,,))
508 $(eval $(call BuildPlugin,tone-stream,Tone generation stream,mod_tone_stream,,))
509 $(eval $(call BuildPlugin,unimrcp,MRCP interface,mod_unimrcp,,))
510 $(eval $(call BuildPlugin,valet-parking,application mod_valet_parking,mod_valet_parking,,))
511 $(eval $(call BuildPlugin,vmd,VoiceMail beep detection,mod_vmd,,))
512 $(eval $(call BuildPlugin,voicemail,VoiceMail,mod_voicemail,,))
513 $(eval $(call BuildPlugin,voipcodecs,VoIP codecs,mod_voipcodecs,,))
514 $(eval $(call BuildPlugin,xml-cdr,XML-CDR handler,mod_xml_cdr,,+libcurl))
515 $(eval $(call BuildPlugin,xml-curl,XML-Curl gateway,mod_xml_curl,,+libcurl))
516 $(eval $(call BuildPlugin,xml-ldap,LDAP-XML gateway,mod_xml_ldap,,@BROKEN)) # fails in openldap
517 $(eval $(call BuildPlugin,xml-rpc,XML-RPC interface,mod_xml_rpc,,))
518 $(eval $(call BuildPlugin,yaml,YAML dialplans,mod_yaml,,))
519