2010-08-04 14:06:07 +00:00
|
|
|
#
|
2011-06-15 09:07:23 +00:00
|
|
|
# Copyright (C) 2009-2011 OpenWrt.org
|
2009-10-07 16:17:09 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=freeswitch
|
2011-05-18 12:32:00 +00:00
|
|
|
PKG_VERSION:=1.0.7
|
2011-06-15 09:07:23 +00:00
|
|
|
PKG_REV:=079f48458e024a87c4ce6336a6f88d50a18d4f25
|
|
|
|
PKG_RELEASE:=$(PKG_REV)
|
2011-05-18 12:32:00 +00:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL:=git://git.$(PKG_NAME).org/$(PKG_NAME).git
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
2011-06-15 09:07:23 +00:00
|
|
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
2011-05-18 12:32:00 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2011-06-15 01:56:23 +00:00
|
|
|
PKG_RELEASE:=$(PKG_SOURCE_VERSION)
|
2010-04-13 10:23:46 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
2009-10-07 16:17:09 +00:00
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
PKG_FIXUP:=libtool
|
2009-10-13 07:20:19 +00:00
|
|
|
|
|
|
|
FS_MOD_AVAILABLE:= \
|
|
|
|
alsa \
|
|
|
|
amr \
|
|
|
|
amrwb \
|
2011-05-21 14:21:16 +00:00
|
|
|
avmd \
|
2010-04-13 10:23:46 +00:00
|
|
|
bv \
|
2011-05-21 14:21:16 +00:00
|
|
|
callcenter \
|
2009-10-13 07:20:19 +00:00
|
|
|
cdr-csv \
|
2011-05-21 14:21:16 +00:00
|
|
|
cdr-pg-csv \
|
|
|
|
cdr-sqlite \
|
2009-10-13 07:20:19 +00:00
|
|
|
celt \
|
|
|
|
cepstral \
|
2010-04-13 10:23:46 +00:00
|
|
|
cidlookup \
|
2009-10-13 07:20:19 +00:00
|
|
|
cluechoo \
|
2011-05-18 12:32:00 +00:00
|
|
|
codec2 \
|
2009-10-13 07:20:19 +00:00
|
|
|
commands \
|
|
|
|
conference \
|
|
|
|
console \
|
|
|
|
curl \
|
|
|
|
dahdi-codec \
|
2011-05-21 14:21:16 +00:00
|
|
|
db \
|
2009-10-13 07:20:19 +00:00
|
|
|
dialplan-asterisk \
|
|
|
|
dialplan-directory \
|
|
|
|
dialplan-xml \
|
|
|
|
dingaling \
|
2010-04-13 10:23:46 +00:00
|
|
|
directory \
|
|
|
|
distributor \
|
2009-10-13 07:20:19 +00:00
|
|
|
dptools \
|
|
|
|
easyroute \
|
|
|
|
enum \
|
|
|
|
erlang-event \
|
|
|
|
esf \
|
|
|
|
event-multicast \
|
|
|
|
event-socket \
|
2011-05-21 14:21:16 +00:00
|
|
|
event-zmq \
|
2009-10-13 07:20:19 +00:00
|
|
|
expr \
|
|
|
|
fifo \
|
|
|
|
file-string \
|
|
|
|
flite \
|
|
|
|
fsv \
|
|
|
|
g723-1 \
|
|
|
|
g729 \
|
|
|
|
h26x \
|
2010-04-13 10:23:46 +00:00
|
|
|
h323 \
|
2011-05-18 12:32:00 +00:00
|
|
|
hash \
|
2009-10-13 07:20:19 +00:00
|
|
|
ilbc \
|
2011-05-21 14:21:16 +00:00
|
|
|
java \
|
2009-10-13 07:20:19 +00:00
|
|
|
lcr \
|
|
|
|
ldap \
|
|
|
|
local-stream \
|
|
|
|
logfile \
|
|
|
|
loopback \
|
|
|
|
lua \
|
2010-04-13 10:23:46 +00:00
|
|
|
managed \
|
2009-10-13 07:20:19 +00:00
|
|
|
memcache \
|
2011-06-15 01:56:23 +00:00
|
|
|
mp4 \
|
2009-10-13 07:20:19 +00:00
|
|
|
native-file \
|
|
|
|
nibblebill \
|
|
|
|
opal \
|
|
|
|
openzap \
|
|
|
|
perl \
|
|
|
|
pocketsphinx \
|
|
|
|
portaudio \
|
2010-04-13 10:23:46 +00:00
|
|
|
portaudio-stream \
|
2009-10-13 07:20:19 +00:00
|
|
|
python \
|
|
|
|
radius-cdr \
|
|
|
|
rss \
|
|
|
|
say-de \
|
|
|
|
say-en \
|
|
|
|
say-es \
|
|
|
|
say-fr \
|
2011-05-21 14:21:16 +00:00
|
|
|
say-hu \
|
2009-10-13 07:20:19 +00:00
|
|
|
say-it \
|
|
|
|
say-nl \
|
2011-05-21 14:21:16 +00:00
|
|
|
say-pt \
|
2009-10-13 07:20:19 +00:00
|
|
|
say-ru \
|
2010-04-13 10:23:46 +00:00
|
|
|
say-th \
|
2009-10-13 07:20:19 +00:00
|
|
|
say-zh \
|
2010-04-13 10:23:46 +00:00
|
|
|
shell-stream \
|
2009-10-13 07:20:19 +00:00
|
|
|
shout \
|
2010-04-13 10:23:46 +00:00
|
|
|
silk \
|
2009-10-13 07:20:19 +00:00
|
|
|
siren \
|
2010-04-13 10:23:46 +00:00
|
|
|
skinny \
|
|
|
|
skypopen \
|
|
|
|
sangoma-codec \
|
|
|
|
snapshot \
|
|
|
|
snipe-hunt \
|
2009-10-13 07:20:19 +00:00
|
|
|
sndfile \
|
|
|
|
snom \
|
|
|
|
sofia \
|
2011-05-18 12:32:00 +00:00
|
|
|
spandsp \
|
2009-10-13 07:20:19 +00:00
|
|
|
speex \
|
|
|
|
spidermonkey \
|
|
|
|
spidermonkey-core-db \
|
|
|
|
spidermonkey-curl \
|
|
|
|
spidermonkey-odbc \
|
|
|
|
spidermonkey-socket \
|
|
|
|
spidermonkey-teletone \
|
|
|
|
spy \
|
2010-04-13 10:23:46 +00:00
|
|
|
stress \
|
2009-10-13 07:20:19 +00:00
|
|
|
syslog \
|
|
|
|
tone-stream \
|
2011-05-21 14:21:16 +00:00
|
|
|
tts-commandline \
|
2009-10-13 07:20:19 +00:00
|
|
|
unimrcp \
|
2010-04-13 10:23:46 +00:00
|
|
|
valet-parking \
|
2009-10-13 07:20:19 +00:00
|
|
|
vmd \
|
|
|
|
voicemail \
|
|
|
|
xml-cdr \
|
|
|
|
xml-curl \
|
|
|
|
xml-ldap \
|
|
|
|
xml-rpc \
|
|
|
|
yaml \
|
|
|
|
|
|
|
|
PKG_CONFIG_DEPENDS:= \
|
2011-05-18 12:32:00 +00:00
|
|
|
$(patsubst %,CONFIG_PACKAGE_$(PKG_NAME)-mod-%,$(FS_MOD_AVAILABLE)) \
|
2009-10-13 07:20:19 +00:00
|
|
|
|
2009-10-07 16:17:09 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)/Default
|
2009-10-07 16:17:09 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-12 00:25:24 +00:00
|
|
|
SUBMENU:=Telephony
|
2011-05-18 12:32:00 +00:00
|
|
|
URL:=http://www.$(PKG_NAME).org/
|
|
|
|
MAINTAINER:=Mazilo <OpenWRT@slickdeals.endjunk.com>
|
2009-10-13 07:20:19 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)
|
|
|
|
$(call Package/$(PKG_NAME)/Default)
|
2009-10-13 07:20:19 +00:00
|
|
|
TITLE:=FreeSWITCH open source telephony platform
|
2010-04-13 10:23:46 +00:00
|
|
|
DEPENDS:= +libopenssl +libreadline +libncurses +libpthread +libstdcpp
|
2009-10-13 07:20:19 +00:00
|
|
|
MENU:=1
|
2009-10-07 16:17:09 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)/description
|
2009-10-07 16:17:09 +00:00
|
|
|
FreeSWITCH is an open source telephony platform designed to
|
|
|
|
facilitate the creation of voice and chat driven products scaling
|
2011-05-18 12:32:00 +00:00
|
|
|
from a soft-phone up to a soft-switch. See http://wiki.$(PKG_NAME).org
|
2009-10-07 16:17:09 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-example-config
|
|
|
|
$(call Package/$(PKG_NAME)/Default)
|
2010-06-27 13:36:16 +00:00
|
|
|
TITLE:=FreeSWITCH example config (commented)
|
2011-05-18 12:32:00 +00:00
|
|
|
DEPENDS:= $(PKG_NAME)
|
2010-06-27 13:36:16 +00:00
|
|
|
endef
|
2009-10-13 07:20:19 +00:00
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-example-config/description
|
2010-06-27 13:36:16 +00:00
|
|
|
The default configuration included with FreeSWITCH. It is not intended to be
|
2011-05-18 12:32:00 +00:00
|
|
|
a final product, and is thus moved to /usr/share/$(PKG_NAME)/examples/conf to
|
2010-06-27 13:36:16 +00:00
|
|
|
be an example of how FreeSWITCH can be configured.
|
|
|
|
endef
|
2010-04-13 10:23:46 +00:00
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-config-upstream-defaults
|
|
|
|
$(call Package/$(PKG_NAME)/Default)
|
2010-06-27 13:36:34 +00:00
|
|
|
TITLE:=FreeSWITCH upstream config
|
2011-05-18 12:32:00 +00:00
|
|
|
DEPENDS:= $(PKG_NAME)
|
2010-06-27 13:36:34 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-config-upstream-defaults/description
|
2010-06-27 13:36:34 +00:00
|
|
|
The default configuration included with FreeSWITCH. It is not intended to be
|
|
|
|
a final product, and but is included for those who don't want to use the
|
|
|
|
OpenWRT configuration and/or want to try things as prepared by upstream.
|
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-config-minimal
|
|
|
|
$(call Package/$(PKG_NAME)/Default)
|
2010-07-07 11:18:11 +00:00
|
|
|
TITLE:=FreeSWITCH a minimal FS config
|
2011-05-18 12:32:00 +00:00
|
|
|
DEPENDS:= $(PKG_NAME)
|
2010-06-27 13:36:34 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-config-minimal/description
|
2010-07-07 11:18:11 +00:00
|
|
|
A minimal configuration of FreeSWITCH for OpenWRT devices. Is what the UCI
|
|
|
|
configuration began with.
|
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-collection-upstream-defaults
|
|
|
|
$(call Package/$(PKG_NAME)/Default)
|
2010-06-27 13:36:34 +00:00
|
|
|
TITLE:=FreeSWITCH upstream default (sample) config
|
2011-05-18 12:32:00 +00:00
|
|
|
DEPENDS:= $(PKG_NAME) \
|
|
|
|
+$(PKG_NAME)-config-upstream-defaults \
|
|
|
|
+$(PKG_NAME)-mod-callcenter \
|
|
|
|
+$(PKG_NAME)-mod-codec2 \
|
|
|
|
+$(PKG_NAME)-mod-commands \
|
|
|
|
+$(PKG_NAME)-mod-conference \
|
|
|
|
+$(PKG_NAME)-mod-curl \
|
|
|
|
+$(PKG_NAME)-mod-dialplan-xml \
|
2011-05-21 14:21:16 +00:00
|
|
|
+$(PKG_NAME)-mod-dingaling \
|
2011-05-18 12:32:00 +00:00
|
|
|
+$(PKG_NAME)-mod-dptools \
|
|
|
|
+$(PKG_NAME)-mod-event-socket \
|
|
|
|
+$(PKG_NAME)-mod-g723-1 \
|
2011-05-21 14:21:16 +00:00
|
|
|
+$(PKG_NAME)-mod-g729 \
|
2011-05-18 12:32:00 +00:00
|
|
|
+$(PKG_NAME)-mod-hash \
|
|
|
|
+$(PKG_NAME)-mod-ilbc \
|
|
|
|
+$(PKG_NAME)-mod-local-stream \
|
|
|
|
+$(PKG_NAME)-mod-logfile \
|
|
|
|
+$(PKG_NAME)-mod-lua \
|
|
|
|
+$(PKG_NAME)-mod-native-file \
|
2011-05-21 14:21:16 +00:00
|
|
|
+$(PKG_NAME)-mod-siren \
|
2011-05-18 12:32:00 +00:00
|
|
|
+$(PKG_NAME)-mod-sndfile \
|
|
|
|
+$(PKG_NAME)-mod-sofia \
|
2011-05-21 14:21:16 +00:00
|
|
|
+$(PKG_NAME)-mod-spandsp \
|
2011-05-18 12:32:00 +00:00
|
|
|
+$(PKG_NAME)-mod-speex \
|
2011-05-21 14:21:16 +00:00
|
|
|
+$(PKG_NAME)-mod-syslog \
|
2011-05-18 12:32:00 +00:00
|
|
|
+$(PKG_NAME)-mod-tone-stream \
|
|
|
|
+$(PKG_NAME)-mod-xml-curl \
|
|
|
|
+$(PKG_NAME)-mod-xml-rpc \
|
|
|
|
+$(PKG_NAME)-tools
|
2009-10-13 07:20:19 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-collection-minimal
|
|
|
|
$(call Package/$(PKG_NAME)/Default)
|
2010-07-07 11:18:11 +00:00
|
|
|
TITLE:=A FreeSWITCH minimal package collection
|
2011-05-18 12:32:00 +00:00
|
|
|
DEPENDS:= $(PKG_NAME) \
|
|
|
|
+$(PKG_NAME)-config-minimal \
|
|
|
|
+$(PKG_NAME)-mod-codec2 \
|
|
|
|
+$(PKG_NAME)-mod-commands \
|
|
|
|
+$(PKG_NAME)-mod-dialplan-xml \
|
|
|
|
+$(PKG_NAME)-mod-dptools \
|
|
|
|
+$(PKG_NAME)-mod-event-socket \
|
|
|
|
+$(PKG_NAME)-mod-hash \
|
|
|
|
+$(PKG_NAME)-mod-local-stream \
|
|
|
|
+$(PKG_NAME)-mod-sndfile \
|
|
|
|
+$(PKG_NAME)-mod-sofia \
|
2011-05-21 14:21:16 +00:00
|
|
|
+$(PKG_NAME)-mod-syslog \
|
2011-05-18 12:32:00 +00:00
|
|
|
+$(PKG_NAME)-mod-tone-stream \
|
|
|
|
+$(PKG_NAME)-tools
|
2010-07-07 11:18:11 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-sounds-en
|
|
|
|
$(call Package/$(PKG_NAME)/Default)
|
2009-12-24 17:13:22 +00:00
|
|
|
TITLE:=FreeSWITCH english sounds
|
2011-05-18 12:32:00 +00:00
|
|
|
DEPENDS:= $(PKG_NAME)
|
2009-12-24 17:13:22 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-sounds-moh
|
|
|
|
$(call Package/$(PKG_NAME)/Default)
|
2009-12-24 17:13:22 +00:00
|
|
|
TITLE:=FreeSWITCH music-on-hold sounds
|
2011-05-18 12:32:00 +00:00
|
|
|
DEPENDS:= $(PKG_NAME)
|
2009-10-13 07:20:19 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-tools
|
|
|
|
$(call Package/$(PKG_NAME)/Default)
|
2009-10-13 07:20:19 +00:00
|
|
|
TITLE:=FreeSWITCH control tools
|
2011-05-18 12:32:00 +00:00
|
|
|
DEPENDS:= $(PKG_NAME)
|
2009-10-13 07:20:19 +00:00
|
|
|
endef
|
|
|
|
|
2009-10-07 16:17:09 +00:00
|
|
|
|
2009-12-24 17:13:22 +00:00
|
|
|
define Download/files
|
2009-12-17 13:00:44 +00:00
|
|
|
define Download/$(1)
|
|
|
|
FILE:=$(2)
|
2011-05-18 12:32:00 +00:00
|
|
|
URL:=http://files.$(PKG_NAME).org/$(4)
|
2009-12-17 13:00:44 +00:00
|
|
|
MD5SUM:=$(3)
|
|
|
|
endef
|
|
|
|
define Prepare/$(1)
|
2011-05-18 12:32:00 +00:00
|
|
|
$(LN) $(DL_DIR)/$(2) $(PKG_BUILD_DIR)/$(5)
|
2009-12-17 13:00:44 +00:00
|
|
|
endef
|
|
|
|
$$(eval $$(call Download,$(1)))
|
|
|
|
endef
|
|
|
|
|
2009-12-24 17:13:22 +00:00
|
|
|
MAKE_INSTALL_TARGETS:=install
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-mod-celt),)
|
|
|
|
$(eval $(call Download/files,celt,celt-0.10.0.tar.gz,a656f6176e9be84027c0e51ceedd710f,downloads/libs/,libs/))
|
2009-12-17 13:00:44 +00:00
|
|
|
endif
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-mod-curl),)
|
2010-07-13 13:53:00 +00:00
|
|
|
$(eval $(call Download/files,json-c,json-c-0.9.tar.gz,4653b3b9c568bb9c782178abfaac128d,downloads/libs/,libs/))
|
2009-12-17 13:00:44 +00:00
|
|
|
endif
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-mod-flite),)
|
|
|
|
$(eval $(call Download/files,flite,flite-1.3.99-latest.tar.gz,365b60881715c5e13c0d8bc37d9be6ff,downloads/libs/,libs/))
|
2009-12-24 17:13:22 +00:00
|
|
|
endif
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-sounds-en),)
|
2011-06-15 01:56:23 +00:00
|
|
|
$(eval $(call Download/files,sounds-en,$(PKG_NAME)-sounds-en-us-callie-8000-1.0.16.tar.gz,bde0883eb75fe06f39bde11f50a1f858,,))
|
2009-12-24 17:13:22 +00:00
|
|
|
MAKE_INSTALL_TARGETS+= sounds-install
|
|
|
|
endif
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-sounds-moh),)
|
|
|
|
$(eval $(call Download/files,sounds-moh,$(PKG_NAME)-sounds-music-8000-1.0.8.tar.gz,f63ef3cc3507af079ae5c7b8b8a01e42,,))
|
2009-12-24 17:13:22 +00:00
|
|
|
MAKE_INSTALL_TARGETS+= moh-install
|
2009-12-17 13:00:44 +00:00
|
|
|
endif
|
|
|
|
|
2010-08-08 20:53:30 +00:00
|
|
|
# XXX: -fgnu89-inline is not supported on all compiler versions, so only enable it on avr32 where it solves build issues
|
|
|
|
ifneq ($(CONFIG_avr32),)
|
|
|
|
TARGET_CFLAGS += -fgnu89-inline
|
|
|
|
TARGET_CXXFLAGS += -fgnu89-inline
|
|
|
|
endif
|
2010-04-13 10:23:46 +00:00
|
|
|
|
|
|
|
ifneq ($(CONFIG_USE_EGLIBC),)
|
|
|
|
ifeq ($(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),)
|
|
|
|
TARGET_CFLAGS += -DNO_GETLOGIN
|
|
|
|
endif
|
|
|
|
endif
|
2009-12-17 13:00:44 +00:00
|
|
|
|
2010-08-08 20:53:30 +00:00
|
|
|
FS_TARGET_CFLAGS:= ${TARGET_CFLAGS} -DLUA_USE_LINUX $(FPIC) -std=gnu99 -Wno-format
|
|
|
|
FS_TARGET_CXXFLAGS:= ${TARGET_CXXFLAGS} -DLUA_USE_LINUX $(FPIC) -Wno-format
|
|
|
|
FS_TARGET_CPPFLAGS:= -I. -I./lua ${TARGET_CPPFLAGS}
|
|
|
|
|
2011-05-21 14:21:16 +00:00
|
|
|
|
2009-10-07 16:17:09 +00:00
|
|
|
CONFIGURE_ARGS+= \
|
2011-05-18 12:32:00 +00:00
|
|
|
--prefix="/usr/share/$(PKG_NAME)" \
|
2009-10-13 07:20:19 +00:00
|
|
|
--bindir="/usr/bin" \
|
|
|
|
--libdir="/usr/lib" \
|
2011-05-18 12:32:00 +00:00
|
|
|
--sysconfdir="/etc/$(PKG_NAME)" \
|
|
|
|
--with-modinstdir="/usr/lib/$(PKG_NAME)" \
|
2009-10-07 16:17:09 +00:00
|
|
|
--enable-ipv6 \
|
2011-05-21 14:21:16 +00:00
|
|
|
--enable-optimization \
|
2009-10-07 16:17:09 +00:00
|
|
|
--with-random="/dev/urandom" \
|
2011-05-18 12:32:00 +00:00
|
|
|
$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-celt),--with-ogg="$(STAGING_DIR)/usr",--without-iogg) \
|
2011-05-21 14:21:16 +00:00
|
|
|
$(if ($(CONFIG_PACKAGE_$(PKG_NAME)-mod-curl)|$(CONFIG_PACKAGE_$(PKG_NAME)-mod-xml-cdr)|$(CONFIG_PACKAGE_$(PKG_NAME)-mod-xml-curl)),--with-libcurl="$(STAGING_DIR)/usr",--without-libcurl) \
|
2011-05-18 12:32:00 +00:00
|
|
|
$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-dingaling),--with-openssl="$(STAGING_DIR)/usr",--without-openssl) \
|
|
|
|
$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-java),--with-java="$(STAGING_DIR)/usr",--without-java) \
|
2011-05-19 00:58:41 +00:00
|
|
|
$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-spandsp),--enable-builtin-tiff,) \
|
2011-05-21 14:21:16 +00:00
|
|
|
|
2009-10-07 16:17:09 +00:00
|
|
|
|
|
|
|
CONFIGURE_VARS+= \
|
2010-04-13 10:23:46 +00:00
|
|
|
config_TARGET_CC="${TARGET_CC}" \
|
|
|
|
config_TARGET_CFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CFLAGS}" \
|
|
|
|
config_TARGET_CXX="${TARGET_CXX}" \
|
|
|
|
config_TARGET_CXXFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CXXFLAGS}" \
|
|
|
|
config_TARGET_CPPFLAGS="${FS_TARGET_CPPFLAGS}" \
|
|
|
|
config_BUILD_CC="${HOSTCC}" \
|
|
|
|
config_TARGET_READLINE_INC="${FS_TARGET_CPPFLAGS}" \
|
|
|
|
config_TARGET_READLINE_LIBS="${TARGET_LDFLAGS} -lreadline -lncurses" \
|
|
|
|
config_TARGET_LIBS="${TARGET_LDFLAGS} -lpthread" \
|
|
|
|
CC_FOR_BUILD="${HOSTCC}" \
|
|
|
|
LDFLAGS_FOR_BUILD="${HOST_LDFLAGS}" \
|
|
|
|
CC="${TARGET_CC}" \
|
|
|
|
CXX="${TARGET_CXX}" \
|
|
|
|
CFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CFLAGS}" \
|
|
|
|
CXXFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CXXFLAGS}" \
|
|
|
|
CPPFLAGS="${FS_TARGET_CPPFLAGS}" \
|
|
|
|
LDFLAGS="${TARGET_LDFLAGS} -Wl,-rpath-link=\"${STAGING_DIR}/usr/lib\"" \
|
2009-11-24 06:49:38 +00:00
|
|
|
ac_cv_dev_urandom="yes" \
|
2009-10-07 16:17:09 +00:00
|
|
|
ac_cv_file_dbd_apr_dbd_mysql_c="no" \
|
2009-11-24 06:49:38 +00:00
|
|
|
ac_cv_file__dev_random="no" \
|
|
|
|
ac_cv_file__dev_urandom="yes" \
|
|
|
|
ac_cv_file___dev_urandom_="yes" \
|
|
|
|
ac_cv_func_mmap_fixed_mapped="yes" \
|
|
|
|
ac_cv_func_pthread_rwlock_init="yes" \
|
|
|
|
ac_cv_struct_rlimit="yes" \
|
|
|
|
apr_cv_mutex_recursive="yes" \
|
2009-10-07 16:17:09 +00:00
|
|
|
apr_cv_process_shared_works="no" \
|
|
|
|
apr_cv_tcp_nodelay_with_cork="yes" \
|
2009-11-24 06:49:38 +00:00
|
|
|
apr_cv_type_rwlock_t="yes" \
|
2010-02-21 14:16:48 +00:00
|
|
|
ac_cv_path_LIBGNUTLS_CONFIG="no" \
|
2009-10-07 16:17:09 +00:00
|
|
|
|
2010-04-13 10:23:46 +00:00
|
|
|
|
2009-12-17 13:00:44 +00:00
|
|
|
define Build/Prepare
|
2011-05-18 12:32:00 +00:00
|
|
|
$(call Build/Prepare/Default)
|
2009-12-17 13:00:44 +00:00
|
|
|
$(call Prepare/celt)
|
|
|
|
$(call Prepare/flite)
|
|
|
|
$(call Prepare/json-c)
|
2009-12-24 17:13:22 +00:00
|
|
|
$(call Prepare/sounds-en)
|
|
|
|
$(call Prepare/sounds-moh)
|
2011-05-21 14:21:16 +00:00
|
|
|
(cd $(PKG_BUILD_DIR); [ -h noreg ] || touch noreg) # Just to shut up Cluecon reg. msg.
|
2011-05-18 12:32:00 +00:00
|
|
|
(cd $(PKG_BUILD_DIR); $(AM_TOOL_PATHS) ./bootstrap.sh)
|
2009-12-17 13:00:44 +00:00
|
|
|
endef
|
|
|
|
|
2009-10-07 16:17:09 +00:00
|
|
|
define Build/Configure
|
2011-05-18 12:32:00 +00:00
|
|
|
$(call Build/Configure/Default,)
|
2009-10-13 07:20:19 +00:00
|
|
|
$(foreach m,$(FS_MOD_AVAILABLE),
|
2011-05-18 12:32:00 +00:00
|
|
|
$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-$(m)),
|
2009-10-13 07:20:19 +00:00
|
|
|
$(SED) 's|^[ #]*\([^#]*/mod_$(subst -,_,$(m))\)$$$$|\1|g' $(PKG_BUILD_DIR)/modules.conf
|
|
|
|
,
|
|
|
|
$(SED) 's|^\([^#]*/mod_$(subst -,_,$(m))\)$$$$|#\1|g' $(PKG_BUILD_DIR)/modules.conf
|
|
|
|
)
|
2009-10-07 16:17:09 +00:00
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
2011-05-18 12:32:00 +00:00
|
|
|
AR="$(TARGET_CROSS)ar" \
|
|
|
|
RANLIB="$(TARGET_CROSS)ranlib" \
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
CXX="$(TARGET_CXX)" \
|
2009-10-07 16:17:09 +00:00
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
|
2009-12-24 17:13:22 +00:00
|
|
|
all $(MAKE_INSTALL_TARGETS)
|
2011-05-18 12:32:00 +00:00
|
|
|
$(SED) 's|^\([ \t]*\)\(.*\)"mod_console"\(.*\)$$$$|\1<!-- \2"mod_console"\3 -->|' $(PKG_INSTALL_DIR)/etc/$(PKG_NAME)/autoload_configs/modules.conf.xml
|
|
|
|
$(SED) 's|^\([ \t]*\)<!-- *\(.*\)"mod_syslog"\(.*\) *-->\(.*\)$$$$|\1\2"mod_syslog"\3\4|' $(PKG_INSTALL_DIR)/etc/$(PKG_NAME)/autoload_configs/modules.conf.xml
|
2009-10-07 16:17:09 +00:00
|
|
|
endef
|
|
|
|
|
2009-10-13 07:20:19 +00:00
|
|
|
define Build/InstallDev
|
2011-05-18 12:32:00 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include/$(PKG_NAME)
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/$(PKG_NAME)/include/* $(1)/usr/include/$(PKG_NAME)/
|
2009-10-13 07:20:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2011-05-18 12:32:00 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib$(PKG_NAME).{a,so*} $(1)/usr/lib/
|
2009-10-13 07:20:19 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)/install
|
2009-10-07 16:17:09 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2011-05-18 12:32:00 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
|
2009-10-07 16:17:09 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2011-05-18 12:32:00 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib$(PKG_NAME).so.* $(1)/usr/lib/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/$(PKG_NAME)
|
2009-10-21 14:58:32 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/default
|
2011-05-18 12:32:00 +00:00
|
|
|
$(INSTALL_DATA) ./files/$(PKG_NAME).default $(1)/etc/default/$(PKG_NAME)
|
2009-10-21 14:58:32 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
2011-05-18 12:32:00 +00:00
|
|
|
$(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
|
2010-04-13 10:23:46 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
|
2011-05-18 12:32:00 +00:00
|
|
|
$(INSTALL_DATA) ./files/$(PKG_NAME).hotplug $(1)/etc/hotplug.d/iface/90-$(PKG_NAME)
|
2010-04-13 10:23:46 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
2011-05-18 12:32:00 +00:00
|
|
|
$(INSTALL_DATA) ./files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
|
2009-10-13 07:20:19 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-collection-upstream-defaults/install
|
|
|
|
$(INSTALL_DIR) $(1)/etc/$(PKG_NAME)
|
2009-10-13 07:20:19 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-example-config/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/examples/conf
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/etc/$(PKG_NAME)/* $(1)/usr/share/$(PKG_NAME)/examples/conf/
|
2010-06-27 13:36:16 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-config-upstream-defaults/install
|
|
|
|
$(INSTALL_DIR) $(1)/etc/$(PKG_NAME)
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/etc/$(PKG_NAME)/* $(1)/etc/$(PKG_NAME)/
|
2010-06-27 13:36:34 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-collection-minimal/install
|
|
|
|
$(INSTALL_DIR) $(1)/etc/$(PKG_NAME)
|
2010-06-27 13:36:34 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-collection-uci-minimal/install
|
|
|
|
$(INSTALL_DIR) $(1)/etc/$(PKG_NAME)
|
2010-07-07 11:18:11 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-config-minimal/install
|
|
|
|
$(INSTALL_DIR) $(1)/etc/$(PKG_NAME)
|
|
|
|
$(CP) ./files/etc.minimal/* $(1)/etc/$(PKG_NAME)/
|
2009-10-13 07:20:19 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-sounds-en/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/sounds
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/$(PKG_NAME)/sounds/en $(1)/usr/share/$(PKG_NAME)/sounds/
|
2009-12-24 17:13:22 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-sounds-moh/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)/sounds
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/$(PKG_NAME)/sounds/music $(1)/usr/share/$(PKG_NAME)/sounds/
|
2009-12-24 17:13:22 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-tools/install
|
2009-10-13 07:20:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/fs_cli $(1)/usr/bin/
|
2011-05-18 12:32:00 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/fs_encode $(1)/usr/bin/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/fs_ivrd $(1)/usr/bin/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/tone2wav $(1)/usr/bin/
|
2009-10-13 07:20:19 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
# 1. Name
|
|
|
|
# 2. Title
|
|
|
|
# 3. Files
|
|
|
|
# 4. Inter Depends
|
|
|
|
# 5. Extra Depends
|
|
|
|
define BuildPlugin
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-mod-$(1)
|
|
|
|
$$(call Package/$(PKG_NAME)/Default)
|
2010-04-16 00:40:05 +00:00
|
|
|
TITLE:= FS $(2) module
|
2011-05-18 12:32:00 +00:00
|
|
|
DEPENDS:= $(PKG_NAME) $$(foreach m,$(4),+$(PKG_NAME)-mod-$$m) $(5)
|
2009-10-13 07:20:19 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-mod-$(1)/install
|
|
|
|
[ -z "$(3)" ] || $(INSTALL_DIR) $$(1)/usr/lib/$(PKG_NAME)
|
2009-10-13 07:20:19 +00:00
|
|
|
for f in $(3); do \
|
|
|
|
$(CP) \
|
2011-05-18 12:32:00 +00:00
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/$(PKG_NAME)/$$$$$$$${f}.so \
|
|
|
|
$$(1)/usr/lib/$(PKG_NAME)/ ; \
|
2009-10-13 07:20:19 +00:00
|
|
|
done
|
2010-08-22 05:06:49 +00:00
|
|
|
if [ -d "./files/etc.packages/$(1)" ]; then \
|
2011-05-18 12:32:00 +00:00
|
|
|
$(INSTALL_DIR) $$(1)/etc/$(PKG_NAME) ; \
|
2010-08-22 05:06:49 +00:00
|
|
|
$(CP) \
|
|
|
|
./files/etc.packages/$(1)/* \
|
2011-05-18 12:32:00 +00:00
|
|
|
$$(1)/etc/$(PKG_NAME)/ ; \
|
|
|
|
fi
|
2010-08-22 05:06:49 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-mod-$(1)/postinst
|
2010-08-22 05:06:49 +00:00
|
|
|
#!/bin/sh
|
2011-05-18 12:32:00 +00:00
|
|
|
sed -i -e 's|^\([ \t]*\)<!-- *\(.*\)"mod_$(subst -,_,$(1))"\(.*\) *-->\(.*\)$$$$|\1\2"mod_$(subst -,_,$(1))"\3\4|' $$$${IPKG_INSTROOT}/etc/$(PKG_NAME)/autoload_configs/modules.conf.xml
|
2010-08-22 05:06:49 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
define Package/$(PKG_NAME)-mod-$(1)/postrm
|
2010-08-22 05:06:49 +00:00
|
|
|
#!/bin/sh
|
2011-05-18 12:32:00 +00:00
|
|
|
sed -i -e 's|^\([ \t]*\)\(.*\)"mod_$(subst -,_,$(1))"\(.*\)$$$$|\1<!-- \2"mod_$(subst -,_,$(1))"\3 -->|' $$$${IPKG_INSTROOT}/etc/$(PKG_NAME)/autoload_configs/modules.conf.xml
|
2009-10-13 07:20:19 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
$$(eval $$(call BuildPackage,$(PKG_NAME)-mod-$(1)))
|
2009-10-07 16:17:09 +00:00
|
|
|
endef
|
|
|
|
|
2011-05-18 12:32:00 +00:00
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)-collection-upstream-defaults))
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)-collection-minimal))
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)-sounds-en))
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)-sounds-moh))
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)-tools))
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)-example-config))
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)-config-upstream-defaults))
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)-config-minimal))
|
2009-10-13 07:20:19 +00:00
|
|
|
|
|
|
|
#$(eval $(call BuildPlugin,Name,Title,Files,Depends))
|
2010-07-20 16:23:46 +00:00
|
|
|
$(eval $(call BuildPlugin,alsa,Alsa endpoint,mod_alsa,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,amr,GSM-AMR codec,mod_amr,,))
|
|
|
|
$(eval $(call BuildPlugin,amrwb,GSM-AMRWB,mod_amrwb,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,avmd,Advanced Voice Mail Detection,mod_avmd,,))
|
2010-04-13 10:23:46 +00:00
|
|
|
$(eval $(call BuildPlugin,bv,codec mod_bv,mod_bv,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,callcenter,Call Center,mod_callcenter,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,cdr-csv,CSV-CDR handler,mod_cdr_csv,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,cdr-pg-csv,Postgress CDR handler,mod_cdr_pg_csv,,+postgresql))
|
|
|
|
$(eval $(call BuildPlugin,cdr-sqlite,SQLite3 CDR handler,mod_cdr_sqlite,,+sqlite3))
|
2010-04-13 10:23:46 +00:00
|
|
|
$(eval $(call BuildPlugin,celt,CELT ultra-low delay codec,mod_celt,,+libogg))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,cepstral,Cepstral interface,mod_cepstral,,@BROKEN)) # needs <swift.h>
|
2010-04-13 10:23:46 +00:00
|
|
|
$(eval $(call BuildPlugin,cidlookup,applications mod_cidlookup,mod_cidlookup,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,cluechoo,Framework Demo,mod_cluechoo,,))
|
2011-05-18 12:32:00 +00:00
|
|
|
$(eval $(call BuildPlugin,codec2,CoDec 2,mod_codec2,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,commands,API commands,mod_commands,,))
|
|
|
|
$(eval $(call BuildPlugin,conference,Conference room,mod_conference,,))
|
|
|
|
$(eval $(call BuildPlugin,console,Console logger,mod_console,,))
|
2010-04-13 10:23:46 +00:00
|
|
|
$(eval $(call BuildPlugin,curl,HTTP request,mod_curl,,+libcurl))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,dahdi-codec,DAHDI codecs,mod_dahdi_codec,,))
|
2011-06-15 01:56:23 +00:00
|
|
|
$(eval $(call BuildPlugin,db,Database backend,mod_db,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,dialplan-asterisk,Asterisk dialplan parser,mod_dialplan_asterisk,,))
|
|
|
|
$(eval $(call BuildPlugin,dialplan-directory,Dialplan-Directory interface,mod_dialplan_directory,,))
|
|
|
|
$(eval $(call BuildPlugin,dialplan-xml,Dialplan-XML interface,mod_dialplan_xml,,))
|
2010-04-13 10:23:46 +00:00
|
|
|
$(eval $(call BuildPlugin,dingaling,Jabber interface,mod_dingaling,,+libgnutls-openssl))
|
|
|
|
$(eval $(call BuildPlugin,directory,application mod_directory,mod_directory,,))
|
|
|
|
$(eval $(call BuildPlugin,distributor,application mod_distributor,mod_distributor,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,dptools,Dialplan tools,mod_dptools,,))
|
|
|
|
$(eval $(call BuildPlugin,easyroute,DID routing,mod_easyroute,,))
|
|
|
|
$(eval $(call BuildPlugin,enum,ENUM routing,mod_enum,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,erlang-event,Erlang event handler,mod_erlang_event,,+erlang))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,esf,Extra SIP Functionality,mod_esf,,))
|
|
|
|
$(eval $(call BuildPlugin,event-multicast,Multicast event handler,mod_event_multicast,,))
|
|
|
|
$(eval $(call BuildPlugin,event-socket,Socket event handler,mod_event_socket,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,event-zmq,Socket event handler by Zero MQ,mod_event_zmq,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,expr,Expression evaluation,mod_expr,,))
|
|
|
|
$(eval $(call BuildPlugin,fifo,FIFO,mod_fifo,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,file-string,File streaming,mod_file_string,,@OBSOLETE)) # merged into dptools
|
2010-08-08 20:53:30 +00:00
|
|
|
$(eval $(call BuildPlugin,flite,Festival TTS,mod_flite,,@(!(armeb||avr32)||BROKEN)))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,fsv,Video,mod_fsv,,))
|
|
|
|
$(eval $(call BuildPlugin,g723-1,G.723.1 codec,mod_g723_1,,))
|
|
|
|
$(eval $(call BuildPlugin,g729,G.729 codec,mod_g729,,))
|
|
|
|
$(eval $(call BuildPlugin,h26x,H26X linear codec,mod_h26x,,))
|
2010-04-13 10:23:46 +00:00
|
|
|
$(eval $(call BuildPlugin,h323,h323 endpoint,mod_h323,,@BROKEN)) # missing header files (other packages needed)
|
2011-05-18 12:32:00 +00:00
|
|
|
$(eval $(call BuildPlugin,hash,API for manipulating a hash table,mod_hash,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,ilbc,ILBC codec,mod_ilbc,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,java,Java language interface,mod_java,,@BROKEN)) # needs java
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,lcr,Least Cost Routing,mod_lcr,,))
|
|
|
|
$(eval $(call BuildPlugin,ldap,LDAP interface,mod_ldap,,@BROKEN)) # fails in openldap
|
|
|
|
$(eval $(call BuildPlugin,local-stream,Local streaming,mod_local_stream,,))
|
|
|
|
$(eval $(call BuildPlugin,logfile,File logger,mod_logfile,,))
|
|
|
|
$(eval $(call BuildPlugin,loopback,Loopback endpoint,mod_loopback,,))
|
2010-04-13 10:23:46 +00:00
|
|
|
$(eval $(call BuildPlugin,lua,Lua language interface,mod_lua,,+libstdcpp))
|
|
|
|
$(eval $(call BuildPlugin,managed,language mod_managed,mod_managed,,@BROKEN)) # needs Mono
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,memcache,MemCached interface,mod_memcache,,@BROKEN)) # fails in libmemcached
|
2011-06-15 01:56:23 +00:00
|
|
|
$(eval $(call BuildPlugin,mp4,MP4 File Format support for video apps,mod_mp4,,+libmp4v2))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,native-file,Native files,mod_native_file,,))
|
|
|
|
$(eval $(call BuildPlugin,nibblebill,Billing,mod_nibblebill,,))
|
|
|
|
$(eval $(call BuildPlugin,opal,Multi-Protocol endpoint,mod_opal,,@BROKEN)) # needs Opal
|
2010-08-04 14:06:07 +00:00
|
|
|
$(eval $(call BuildPlugin,openzap,Zaptel hardware interface,mod_openzap ozmod_analog ozmod_analog_em ozmod_isdn ozmod_skel ozmod_zt,,+libpcap))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,perl,Perl language interface,mod_perl,,+perl @BROKEN)) # needs Perl
|
|
|
|
$(eval $(call BuildPlugin,pocketsphinx,PocketSphinx SR,mod_pocketsphinx,,@BROKEN)) # fails in sphinxbase
|
|
|
|
$(eval $(call BuildPlugin,portaudio,Local audio endpoint,mod_portaudio,,+alsa-lib))
|
2010-04-13 10:23:46 +00:00
|
|
|
$(eval $(call BuildPlugin,portaudio-stream,format mod_portaudio_stream,mod_portaudio_stream,,))
|
2011-05-18 12:32:00 +00:00
|
|
|
$(eval $(call BuildPlugin,python,Python language interface,mod_python,,@BROKEN)) # needs Python
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,radius-cdr,Radius-CDR interface,mod_radius_cdr,,@BROKEN)) # fails in freeradius-client
|
|
|
|
$(eval $(call BuildPlugin,rss,RRS feeds via TTS,mod_rss,,))
|
|
|
|
$(eval $(call BuildPlugin,say-de,German say,mod_say_de,,))
|
|
|
|
$(eval $(call BuildPlugin,say-en,English say,mod_say_en,,))
|
|
|
|
$(eval $(call BuildPlugin,say-es,Spanish say,mod_say_es,,))
|
|
|
|
$(eval $(call BuildPlugin,say-fr,French say,mod_say_fr,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,say-hu,Hungarian say,mod_say_hu,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,say-it,Italian say,mod_say_it,,))
|
|
|
|
$(eval $(call BuildPlugin,say-nl,Dutch say,mod_say_nl,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,say-pt,Portugeese say,mod_say_pt,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,say-ru,Russian say,mod_say_ru,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,say-th,Thai say,mod_say_th,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,say-zh,Chineese say,mod_say_zh,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,shell-stream,Shell stream,mod_shell_stream,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,shout,MP3 and Shoutcast stream,mod_shout,,@BROKEN)) # needs Ogg/Vorbis
|
2010-04-13 10:23:46 +00:00
|
|
|
$(eval $(call BuildPlugin,silk,codec mod_silk,mod_silk,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,siren,G.722.1 codec,mod_siren,,))
|
2010-04-13 10:23:46 +00:00
|
|
|
$(eval $(call BuildPlugin,skinny,endpoint mod_skinny,mod_skinny,,))
|
|
|
|
$(eval $(call BuildPlugin,skypopen,Skype compatible endpoint,mod_skypopen,,@BROKEN)) # needs <X11/Xlib.h>
|
|
|
|
$(eval $(call BuildPlugin,sangoma-codec,codec sangoma-codec,mod_sangoma_codec,,@BROKEN)) # Untested
|
|
|
|
$(eval $(call BuildPlugin,snapshot,application mod_snapshot,mod_snapshot,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,sndfile,Multi-Format file transcoder,mod_sndfile,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,snipe-hunt,application mod_snipe_hunt,mod_snipe_hunt,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,snom,SNOM specific features,mod_snom,,))
|
|
|
|
$(eval $(call BuildPlugin,sofia,SIP,mod_sofia,,))
|
2011-05-19 00:58:41 +00:00
|
|
|
$(eval $(call BuildPlugin,spandsp,Span DSP,mod_spandsp,,+libjpeg))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,speex,Speex codec,mod_speex,,))
|
|
|
|
$(eval $(call BuildPlugin,spidermonkey,JavaScript,mod_spidermonkey,,@BROKEN)) # fails in js
|
|
|
|
$(eval $(call BuildPlugin,spidermonkey-core_db,JavaScript DB,mod_spidermonkey_core_db,,@BROKEN))
|
|
|
|
$(eval $(call BuildPlugin,spidermonkey-curl,JavaScript Curl,mod_spidermonkey_curl,,@BROKEN))
|
|
|
|
$(eval $(call BuildPlugin,spidermonkey-odbc,JavaScript ODBC,mod_spidermonkey_odbc,,@BROKEN))
|
|
|
|
$(eval $(call BuildPlugin,spidermonkey-socket,JavaScript socket,mod_spidermonkey_socket,,@BROKEN))
|
|
|
|
$(eval $(call BuildPlugin,spidermonkey-teletone,JavaScript teletone,mod_spidermonkey_teletone,,@BROKEN))
|
|
|
|
$(eval $(call BuildPlugin,spy,User spy,mod_spy,,))
|
2010-04-13 10:23:46 +00:00
|
|
|
$(eval $(call BuildPlugin,stress,application mod_stress,mod_stress,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,syslog,SysLog logger,mod_syslog,,))
|
|
|
|
$(eval $(call BuildPlugin,tone-stream,Tone generation stream,mod_tone_stream,,))
|
2011-05-21 14:21:16 +00:00
|
|
|
$(eval $(call BuildPlugin,tts-commandline,ASR TTS cli,mod_tts_commandline,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,unimrcp,MRCP interface,mod_unimrcp,,))
|
2010-04-13 10:23:46 +00:00
|
|
|
$(eval $(call BuildPlugin,valet-parking,application mod_valet_parking,mod_valet_parking,,))
|
2009-10-13 07:20:19 +00:00
|
|
|
$(eval $(call BuildPlugin,vmd,VoiceMail beep detection,mod_vmd,,))
|
|
|
|
$(eval $(call BuildPlugin,voicemail,VoiceMail,mod_voicemail,,))
|
|
|
|
$(eval $(call BuildPlugin,xml-cdr,XML-CDR handler,mod_xml_cdr,,+libcurl))
|
|
|
|
$(eval $(call BuildPlugin,xml-curl,XML-Curl gateway,mod_xml_curl,,+libcurl))
|
|
|
|
$(eval $(call BuildPlugin,xml-ldap,LDAP-XML gateway,mod_xml_ldap,,@BROKEN)) # fails in openldap
|
|
|
|
$(eval $(call BuildPlugin,xml-rpc,XML-RPC interface,mod_xml_rpc,,))
|
|
|
|
$(eval $(call BuildPlugin,yaml,YAML dialplans,mod_yaml,,))
|
2010-04-13 10:23:46 +00:00
|
|
|
|