asterisk11 + asterisk13: use system libedit
[feed/telephony.git] / net / asterisk-13.x / Makefile
index f827a2febff23e1bb5232726cb57dbac5586d6e0..ed0722141623fef02b99ae7028851362753a3d34 100644 (file)
@@ -99,7 +99,7 @@ define Package/asterisk13
 $(call Package/asterisk13/Default)
   TITLE:=Complete open source PBX, v$(PKG_VERSION)
   MENU:=1
-  DEPENDS:=+jansson +libncurses +libopenssl +libpopt +libsqlite3 +libstdcpp +libuuid +libxml2 +libxslt +zlib
+  DEPENDS:=+jansson +libedit +libncurses +libopenssl +libpopt +libsqlite3 +libstdcpp +libuuid +libxml2 +libxslt +zlib
 endef
 
 define Package/asterisk13/description
@@ -198,6 +198,7 @@ CONFIGURE_ARGS+= \
        --without-nbs \
        --without-neon \
        --without-neon29 \
+       --with-libedit="$(STAGING_DIR)/usr" \
        --with-libxml2 \
        --with-ncurses="$(STAGING_DIR)/usr" \
        --without-netsnmp \
@@ -392,6 +393,7 @@ $(eval $(call BuildAsterisk13Module,func-math,Math functions,Math functions,,,fu
 $(eval $(call BuildAsterisk13Module,func-module,Simple module check function,Simple module check function,,,func_module,))
 $(eval $(call BuildAsterisk13Module,func-periodic-hook,Periodic dialplan hooks,Execute a periodic dialplan hook into the audio of a call,,,func_periodic_hook,,))
 $(eval $(call BuildAsterisk13Module,func-presencestate,Hinted presence state,Gets or sets a presence state in the dialplan,,,func_presencestate,,))
+$(eval $(call BuildAsterisk13Module,func-rand,RAND dialplan function,RAND dialplan function,,,func_rand,,))
 $(eval $(call BuildAsterisk13Module,func-realtime,REALTIME dialplan function,REALTIME dialplan function,,,func_realtime,,))
 $(eval $(call BuildAsterisk13Module,func-shell,Shell,support for shell execution,,,func_shell,,))
 $(eval $(call BuildAsterisk13Module,func-uri,URI encoding and decoding,Encodes and decodes URI-safe strings,,,func_uri,,))