[packages] freeswitch: make it fully modular, add patches to allow more modules to cross-compile

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18044 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2009-10-13 07:20:19 +00:00
parent f4c90b5224
commit 0394f56f0f
7 changed files with 683 additions and 40 deletions

View File

@ -1,7 +1,7 @@
#FS_DIR="/opt"
FS_DIR_ETC="$FS_DIR/etc/freeswitch"
FS_DIR_MOD="$FS_DIR/usr/lib/freeswitch"
FS_DIR_LOG="$FS_DIR/tmp/freeswitch/log"
FS_DIR_DB="$FS_DIR/tmp/freeswitch/db"
FS_DIR_LOG="$FS_DIR/tmp/freeswitch/log"
OPTIONS="-conf $FS_DIR_ETC -log $FS_DIR_LOG -db $FS_DIR_DB -mod $FS_DIR_MOD"

View File

@ -7,8 +7,8 @@ OPTIONS=""
start() {
[ -f $DEFAULT ] && . $DEFAULT
mkdir -p $FS_DIR_LOG
mkdir -p $FS_DIR_DB
mkdir -p $FS_DIR_LOG
$FS_DIR/usr/bin/freeswitch $OPTIONS -c
}