diff --git a/package/valentin/asterisk/asterisk.conf b/package/valentin/asterisk/asterisk.conf index 0371c6958..c5135caf9 100644 --- a/package/valentin/asterisk/asterisk.conf +++ b/package/valentin/asterisk/asterisk.conf @@ -21,3 +21,12 @@ # --- ROCK-COPYRIGHT-NOTE-END --- var_append makeinstopt " " "samples" + +bluetooth_prepare() { + tar $taropt $archdir/chan_bluetooth* + cbtdir=$(echo chan_bluetooth*) + sed -i -e 's,\(CHANNEL_LIBS=\),\1chan_bluetooth.so ,' channels/Makefile* + echo "include ${cbtdir}/Makefile" >> Makefile + echo "include ../${cbtdir}/Makefile" >> channels/Makefile +} +pkginstalled bluez-libs && hook_add premake 3 "bluetooth_prepare" diff --git a/package/valentin/asterisk/asterisk.desc b/package/valentin/asterisk/asterisk.desc index 3e4d0eb74..8037aa79d 100644 --- a/package/valentin/asterisk/asterisk.desc +++ b/package/valentin/asterisk/asterisk.desc @@ -31,6 +31,7 @@ [T] and H.323 (as both client and gateway). [U] http://www.asterisk.org/ +[U] http://www.crazygreek.co.uk/content/chan_bluetooth Bluetooth plugin [A] Mark Spencer / Digium dba Linux Support Services, Inc. [M] Valentin Ziegler @@ -39,7 +40,9 @@ [L] GPL [S] Stable -[V] 1.0.7 +[V] 1.0.7 1 [P] X -?---5---9 203.800 +[SRC] asterisk [D] 876433946 asterisk-1.0.7.tar.gz ftp://ftp.asterisk.org/pub/asterisk/ +[D] X chan_bluetooth-r40.tar.bz2 svn://http:svn.tr3.org/chan_bluetooth/trunk/::40