$(INSTALL_BIN) $(PKG_BUILD_DIR)/chan_dongle.so $(1)$(MODULES_DIR)
endef
+define Package/asterisk-chan-dongle/postinst
+#!/bin/sh
+if [ -z "$${IPKG_INSTROOT}" ]; then
+ echo
+ echo "o-------------------------------------------------------------------o"
+ echo "| asterisk-chan-dongle note |"
+ echo "o-------------------------------------------------------------------o"
+ echo "| Adding the \"asterisk\" user to the \"dialout\" group might be |"
+ echo "| required for asterisk to be able to access the dongle. |"
+ echo "o-------------------------------------------------------------=^_^=-o"
+ echo
+fi
+exit 0
+endef
+
$(eval $(call BuildPackage,asterisk-chan-dongle))
--- a/configure.ac
+++ b/configure.ac
-@@ -224,8 +224,6 @@ dnl Apply options to defines
+@@ -237,8 +237,6 @@ dnl Apply options to defines
if test "x$enable_debug" = "xyes" ; then
- CFLAGS="$CFLAGS -O0 -g"
+ CFLAGS="$CFLAGS -O0 -g3"
AC_DEFINE([__DEBUG__], [1], [Build with debugging])
-else
- CFLAGS="$CFLAGS -O6"