2 # Copyright (C) 2007-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://downloads.digium.com
/pub
/asterisk
/releases
/
16 PKG_MD5SUM
:=ca17be11559eb939ea16b8de98ddeefb
18 PKG_BUILD_DEPENDS
:= libopenh323 pwlib
20 include $(INCLUDE_DIR
)/package.mk
22 STAMP_CONFIGURED
:=$(STAMP_CONFIGURED
)_
$(call confvar
, \
23 CONFIG_PACKAGE_asterisk14 CONFIG_PACKAGE_asterisk14-mini \
24 CONFIG_PACKAGE_asterisk14-chan-alsa CONFIG_PACKAGE_asterisk14-chan-gtalk \
25 CONFIG_PACKAGE_asterisk14-chan-h323 CONFIG_PACKAGE_asterisk14-chan-mgcp \
26 CONFIG_PACKAGE_asterisk14-chan-skinny CONFIG_PACKAGE_asterisk14-codec-ilbc \
27 CONFIG_PACKAGE_asterisk14-codec-lpc10 CONFIG_PACKAGE_asterisk14-codec-speex \
28 CONFIG_PACKAGE_asterisk14-pbx-dundi CONFIG_PACKAGE_asterisk14-res-agi \
29 CONFIG_PACKAGE_asterisk14-res-crypto CONFIG_PACKAGE_asterisk14-pgsql \
30 CONFIG_PACKAGE_asterisk14-sqlite CONFIG_PACKAGE_asterisk14-voicemail \
31 CONFIG_PACKAGE_asterisk14-sounds \
34 define Package
/asterisk14
/Default
35 SUBMENU
:=asterisk14
(Complete Open Source PBX
), v1.4.x
38 URL
:=http
://www.asterisk.org
/
39 MAINTAINER
:=Hans Zandbelt
<hans.zandbelt@gmail.com
>
42 define Package
/asterisk14
/Default
/description
43 Asterisk is a complete PBX in software. It provides
all of the features
44 you would expect from a PBX and more. Asterisk does voice over IP in three
45 protocols
, and can interoperate with almost
all standards-based telephony
46 equipment using relatively inexpensive hardware.
50 define Package
/asterisk14
51 $(call Package
/asterisk14
/Default
)
52 TITLE
:=Complete open source PBX
53 DEPENDS
:= +libncurses
+libpopt
+libpthread @
!TARGET_avr32
56 define Package
/asterisk14
/description
57 $(call Package
/asterisk14
/Default
/description
)
61 define Package
/asterisk14-mini
62 $(call Package
/asterisk14
/Default
)
63 TITLE
:=Minimal open source PBX
64 DEPENDS
:=+libncurses
+libpopt
+libpthread @
!TARGET_avr32
67 define Package
/asterisk14-mini
/description
68 $(call Package
/asterisk14
/Default
/description
)
69 This package contains only the following modules
:
86 define Package
/asterisk14-app-meetme
87 $(call Package
/asterisk14
/Default
)
88 TITLE
:=conferencing support
89 DEPENDS
:= +asterisk14
+zaptel14-libtonezone
92 define Package
/asterisk14-app-meetme
/description
93 $(call Package
/asterisk14
/Default
/description
)
94 This package provides the MeetMe application driver Conferencing support to
99 define Package
/asterisk14-chan-oss
100 $(call Package
/asterisk14
/Default
)
101 TITLE
:=OSS soundcards support
102 DEPENDS
:= +asterisk14
105 define Package
/asterisk14-chan-oss
/description
106 $(call Package
/asterisk14
/Default
/description
)
107 This package provides the channel driver for OSS sound cards support to
112 define Package
/asterisk14-app-meetme
113 $(call Package
/asterisk14
/Default
)
114 TITLE
:=conferencing support
115 DEPENDS
:= +asterisk14
+zaptel14-libtonezone
118 define Package
/asterisk14-app-meetme
/description
119 $(call Package
/asterisk14
/Default
/description
)
120 This package provides the MeetMe application driver Conferencing support to
125 define Package
/asterisk14-chan-oss
126 $(call Package
/asterisk14
/Default
)
127 TITLE
:=OSS soundcards support
128 DEPENDS
:= +asterisk14
131 define Package
/asterisk14-chan-oss
/description
132 $(call Package
/asterisk14
/Default
/description
)
133 This package provides the channel driver for OSS sound cards support to
138 define Package
/asterisk14-chan-alsa
139 $(call Package
/asterisk14
/Default
)
140 TITLE
:=ALSA soundcards support
141 DEPENDS
:= +asterisk14
+alsa-lib
144 define Package
/asterisk14-chan-alsa
/description
145 $(call Package
/asterisk14
/Default
/description
)
146 This package provides the channel driver for ALSA sound cards support to
151 define Package
/asterisk14-chan-gtalk
152 $(call Package
/asterisk14
/Default
)
154 DEPENDS
:= +asterisk14
+libiksemel
157 define Package
/asterisk14-chan-gtalk
/description
158 $(call Package
/asterisk14
/Default
/description
)
159 This package provides the channel chan_gtalk and res_jabber for GTalk
164 define Package
/asterisk14-chan-h323
165 $(call Package
/asterisk14
/Default
)
166 TITLE
:=H
.323 support for Asterisk
167 DEPENDS
:= +asterisk14
+uclibcxx
170 define Package
/asterisk14-chan-h323
/description
171 $(call Package
/asterisk14
/Default
/description
)
172 This package provides H
.323 support to Asterisk.
176 define Package
/asterisk14-chan-mgcp
177 $(call Package
/asterisk14
/Default
)
179 DEPENDS
:= +asterisk14
182 define Package
/asterisk14-chan-mgcp
/description
183 $(call Package
/asterisk14
/Default
/description
)
184 This package provides MGCP
(Media Gateway Control Protocol
) support
\\\
189 define Package
/asterisk14-chan-skinny
190 $(call Package
/asterisk14
/Default
)
191 TITLE
:=Skinny Client Control Protocol support
192 DEPENDS
:= +asterisk14
195 define Package
/asterisk14-chan-skinny
/description
196 $(call Package
/asterisk14
/Default
/description
)
197 This package provided Skinny Client Control Protocol support to
\\\
202 #define Package/asterisk14-codec-ilbc
203 #$(call Package/asterisk14/Default)
204 # TITLE:=ILBC Translator
205 # DEPENDS:= +asterisk14
208 #define Package/asterisk14-codec-ilbc/description
209 #$(call Package/asterisk14/Default/description)
210 # This package contains the ILBC (Internet Low Bitrate Codec) translator
215 define Package
/asterisk14-codec-lpc10
216 $(call Package
/asterisk14
/Default
)
217 TITLE
:=LPC10
2.4kbps voice codec Translator
218 DEPENDS
:= +asterisk14
221 define Package
/asterisk14-chan-lpc10
/description
222 $(call Package
/asterisk14
/Default
/description
)
223 This package contains the LPC10
(Linear Predictor Code
) 2.4kbps voice
224 codec translator for Asterisk.
228 define Package
/asterisk14-codec-speex
229 $(call Package
/asterisk14
/Default
)
230 TITLE
:=Speex
/PCM16 Codec Translator
231 DEPENDS
:= +asterisk14
+libspeex
+libspeexdsp
234 define Package
/asterisk14-chan-speex
/description
235 $(call Package
/asterisk14
/Default
/description
)
236 This package contains the Speex speech compression codec translator for
241 define Package
/asterisk14-pbx-dundi
242 $(call Package
/asterisk14
/Default
)
244 DEPENDS
:= +asterisk14
247 define Package
/asterisk14-pbx-dundi
/description
248 $(call Package
/asterisk14
/Default
/description
)
249 This package provides DUNDi
(Distributed Universal Number Discovery
)
254 define Package
/asterisk14-res-agi
255 $(call Package
/asterisk14
/Default
)
257 DEPENDS
:= +asterisk14
260 define Package
/asterisk14-res-agi
/description
261 $(call Package
/asterisk14
/Default
/description
)
262 This package provides AGI
(Asterisk Gateway Interface
) support to
267 define Package
/asterisk14-res-crypto
268 $(call Package
/asterisk14
/Default
)
269 TITLE
:=Cryptographic Digital Signatures support
270 DEPENDS
:= +asterisk14
+libopenssl
273 define Package
/asterisk14-res-crypto
/description
274 $(call Package
/asterisk14
/Default
/description
)
275 This package provides Cryptographic Digital Signatures support to
280 define Package
/asterisk14-pgsql
281 $(call Package
/asterisk14
/Default
)
282 TITLE
:=PostgreSQL support
283 DEPENDS
:= +asterisk14
+libpq
286 define Package
/asterisk14-pgsql
/description
287 $(call Package
/asterisk14
/Default
/description
)
288 This package contains PostgreSQL support modules for Asterisk.
292 define Package
/asterisk14-sqlite
293 $(call Package
/asterisk14
/Default
)
294 TITLE
:=SQLite modules
295 DEPENDS
:= +asterisk14
+libsqlite2
298 define Package
/asterisk14-sqlite
/description
299 $(call Package
/asterisk14
/Default
/description
)
300 This package contains SQLite support modules for Asterisk.
304 define Package
/asterisk14-sounds
305 $(call Package
/asterisk14
/Default
)
307 DEPENDS
:= +asterisk14
310 define Package
/asterisk14-sounds
/description
311 $(call Package
/asterisk14
/Default
/description
)
312 This package contains sound files for Asterisk.
316 define Package
/asterisk14-voicemail
317 $(call Package
/asterisk14
/Default
)
318 TITLE
:=Voicemail support
319 DEPENDS
:= +asterisk14
322 define Package
/asterisk14-voicemail
/description
323 $(call Package
/asterisk14
/Default
/description
)
324 This package contains voicemail related modules for Asterisk.
327 define Package
/asterisk14-rawplayer
328 $(call Package
/asterisk14
/Default
)
329 TITLE
:=Play raw files for asterisk
332 define Package
/asterisk14-rawplayer
/description
333 Contains the rawplayer utility for asterisk
340 --with-gsm
="internal" \
346 --with-ncurses
="$(STAGING_DIR)/usr" \
352 --with-popt
="$(STAGING_DIR)/usr" \
363 --with-z
="$(STAGING_DIR)/usr" \
365 EXTRA_CFLAGS
:= $(TARGET_CPPFLAGS
)
366 EXTRA_LDFLAGS
:= $(TARGET_LDFLAGS
)
368 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-app-meetme
),)
370 --with-tonezone
="$(STAGING_DIR)/usr" --with-zaptel
="$(STAGING_DIR)/usr"
373 --without-tonezone
--without-zaptel
376 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-chan-alsa
),)
378 --with-asound
="$(STAGING_DIR)/usr"
384 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-chan-oss
),)
392 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-chan-gtalk
),)
394 --with-gnutls
="$(STAGING_DIR)/usr" \
395 --with-iksemel
="$(STAGING_DIR)/usr"
397 ac_cv_lib_iksemel_iks_start_sasl
=yes \
398 ac_cv_lib_gnutls_gnutls_bye
=yes
405 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-chan-h323
),)
407 --with-h323
="$(BUILD_DIR)/openh323" \
408 --with-pwlib
="$(BUILD_DIR)/pwlib"
410 LIBS
="$$$$LIBS -luClibc++ -ldl -lpthread"
412 define Build
/Compile
/chan-h323
413 $(MAKE
) -C
"$(PKG_BUILD_DIR)/channels/h323" \
414 $(TARGET_CONFIGURE_OPTS
) \
415 CXXLIBS
="-nodefaultlibs -luClibc++" \
424 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-codec-speex
),)
426 --with-speex
="$(STAGING_DIR)/usr"
428 ac_cv_lib_speex_speex_encode
=yes
429 EXTRA_CFLAGS
+= -I
$(STAGING_DIR
)/usr
/include/speex
435 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-res-crypto
),)
437 --with-ssl
="$(STAGING_DIR)/usr"
443 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-pgsql
),)
445 --with-postgres
="$(STAGING_DIR)/usr"
451 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-sqlite
),)
453 --with-sqlite
="$(STAGING_DIR)/usr"
460 define Build
/Configure
461 -rm $(PKG_BUILD_DIR
)/menuselect.makeopts
462 ( cd
$(PKG_BUILD_DIR
); .
/bootstrap.sh
)
463 $(call Build
/Configure
/Default
,,$(SITE_VARS
))
467 $(MAKE
) -C
"$(PKG_BUILD_DIR)" \
468 include/asterisk
/version.h \
469 include/asterisk
/buildopts.h defaults.h \
471 $(call Build
/Compile
/chan-h323
)
472 ASTCFLAGS
="$(EXTRA_CFLAGS) -DLOW_MEMORY $(TARGET_CFLAGS)" \
473 ASTLDFLAGS
="$(EXTRA_LDFLAGS)" \
474 $(MAKE
) -C
"$(PKG_BUILD_DIR)" \
475 ASTVARLIBDIR
="/usr/lib/asterisk" \
479 DESTDIR
="$(PKG_INSTALL_DIR)" \
481 $(SED
) 's|/var/lib/asterisk|/usr/lib/asterisk|g' $(PKG_INSTALL_DIR
)/etc
/asterisk
/musiconhold.conf
483 $(TARGET_CC
) -O2
$(PKG_BUILD_DIR
)/contrib
/utils
/rawplayer.c
-o
$(PKG_BUILD_DIR
)/rawplayer
486 define Build
/InstallDev
487 $(INSTALL_DIR
) $(1)/usr
/include/asterisk
/
488 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/asterisk
/*.h
$(1)/usr
/include/asterisk
/
489 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/asterisk.h
$(1)/usr
/include/
493 define Package
/asterisk14
/conffiles
494 /etc
/asterisk
/agents.conf
495 /etc
/asterisk
/alarmreceiver.conf
496 /etc
/asterisk
/amd.conf
497 /etc
/asterisk
/asterisk.conf
498 /etc
/asterisk
/cdr.conf
499 /etc
/asterisk
/cdr_custom.conf
500 /etc
/asterisk
/cdr_manager.conf
501 /etc
/asterisk
/codecs.conf
502 /etc
/asterisk
/dnsmgr.conf
503 /etc
/asterisk
/enum.conf
504 /etc
/asterisk
/extconfig.conf
505 /etc
/asterisk
/extensions.ael
506 /etc
/asterisk
/extensions.conf
507 /etc
/asterisk
/features.conf
508 /etc
/asterisk
/followme.conf
509 /etc
/asterisk
/http.conf
510 /etc
/asterisk
/iax.conf
511 /etc
/asterisk
/iaxprov.conf
512 /etc
/asterisk
/indications.conf
513 /etc
/asterisk
/logger.conf
514 /etc
/asterisk
/manager.conf
515 /etc
/asterisk
/misdn.conf
516 /etc
/asterisk
/modules.conf
517 /etc
/asterisk
/musiconhold.conf
518 /etc
/asterisk
/muted.conf
519 /etc
/asterisk
/osp.conf
520 /etc
/asterisk
/privacy.conf
521 /etc
/asterisk
/queues.conf
522 /etc
/asterisk
/rtp.conf
523 /etc
/asterisk
/say.conf
524 /etc
/asterisk
/sip.conf
525 /etc
/asterisk
/sip_notify.conf
526 /etc
/asterisk
/sla.conf
527 /etc
/asterisk
/smdi.conf
528 /etc
/asterisk
/udptl.conf
529 /etc
/asterisk
/users.conf
532 #define Package/asterisk14/postinst
534 #ROOT=`echo $${PKG_ROOT} | sed 's:[\/]:\\\&:g' -`
535 #/bin/sed -i 's/\ \/etc/\ '$${ROOT}'etc/g' $${PKG_ROOT}/etc/asterisk/asterisk.conf
536 #/bin/sed -i 's/\ \/var/\ '$${ROOT}'var/g' $${PKG_ROOT}/etc/asterisk/asterisk.conf
537 #/bin/sed -i 's/\ \/usr/\ '$${ROOT}'usr/g' $${PKG_ROOT}/etc/asterisk/asterisk.conf
538 #/bin/sed -i 's/^DEST=/DEST='$${ROOT}'/g' $${PKG_ROOT}/etc/init.d/asterisk
539 #/bin/sed -i 's/OPTIONS=\"\"/OPTIONS=\"-C\ '$${ROOT}'etc\/asterisk\/asterisk.conf\"/g' $${PKG_ROOT}/etc/default/asterisk
542 define Package
/asterisk14
/install
543 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)
544 rm -rf
$(1)/usr
/sbin
/astgenkey
545 rm -rf
$(1)/usr
/sbin
/aelparse
546 rm -rf
$(1)/usr
/sbin
/autosupport
547 rm -rf
$(1)/usr
/sbin
/muted
548 rm -rf
$(1)/usr
/sbin
/stereorize
551 rm -rf
$(1)/usr
/include
553 (cd
$(1)/usr
/lib
/asterisk
; \
560 rm -rf
*adsi
* *festival
* *modem
* *oss
* *phone
* *intercom
* \
561 *mp3
* *nbscat
* *sqlite
* *mysql
* *postgres
* *pgsql
* \
562 *voicemail
* *speex
* *flash
* *page
* *meetme
* *zap
* *jpeg
* \
570 {codec
,format
}_ilbc.so \
577 (cd
$(1)/etc
/asterisk
; \
578 rm -f
*odbc
* *mysql
* *postgres
* *pgsql
* *voicemail
* \
579 *adsi
* *oss
* *alsa
* *festival
* *modem
* *phone
* \
580 *tds
* *vofr
* *rpt
* *vpb
* *snmp
* \
590 $(INSTALL_DATA
) .
/files
/modules.conf
$(1)/etc
/asterisk
/
591 $(INSTALL_DIR
) $(1)/etc
/default
592 $(INSTALL_DATA
) .
/files
/asterisk.default
$(1)/etc
/default
/asterisk
593 $(INSTALL_DIR
) $(1)/etc
/init.d
594 $(INSTALL_BIN
) .
/files
/asterisk.init
$(1)/etc
/init.d
/asterisk
598 define Package
/asterisk14-mini
/conffiles
599 /etc
/asterisk
/asterisk.conf
600 /etc
/asterisk
/enum.conf
601 /etc
/asterisk
/extconfig.conf
602 /etc
/asterisk
/extensions.conf
603 /etc
/asterisk
/features.conf
604 /etc
/asterisk
/http.conf
605 /etc
/asterisk
/iax.conf
606 /etc
/asterisk
/iaxprov.conf
607 /etc
/asterisk
/logger.conf
608 /etc
/asterisk
/manager.conf
609 /etc
/asterisk
/modules.conf
610 /etc
/asterisk
/musiconhold.conf
611 /etc
/asterisk
/rtp.conf
612 /etc
/asterisk
/sip.conf
613 /etc
/asterisk
/sip_notify.conf
614 /etc
/asterisk
/users.conf
617 define Package
/asterisk14-mini
/install
618 $(INSTALL_DIR
) $(1)/etc
/asterisk
619 for f in asterisk enum extconfig extensions features http \
620 iax iaxprov logger manager modules musiconhold rtp \
621 sip sip_notify users
; do \
622 $(CP
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/$$$$f.conf
$(1)/etc
/asterisk
/ ; \
624 $(INSTALL_DATA
) .
/files
/modules.conf
$(1)/etc
/asterisk
/
625 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
626 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/firmware
$(1)/usr
/lib
/asterisk
/
627 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/keys
628 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
629 for f in app_dial chan_iax2 chan_local chan_sip codec_gsm \
630 codec_ulaw format_gsm format_pcm format_wav format_wav_gsm \
631 pbx_config res_features res_musiconhold
; do \
632 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/$$$$f.so
$(1)/usr
/lib
/asterisk
/modules
/ ; \
634 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/moh
635 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/sounds
636 $(INSTALL_DIR
) $(1)/usr
/sbin
637 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/asterisk
$(1)/usr
/sbin
/
638 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/safe_asterisk
$(1)/usr
/sbin
/
639 $(INSTALL_DIR
) $(1)/etc
/default
640 $(INSTALL_DATA
) .
/files
/asterisk.default
$(1)/etc
/default
/asterisk
641 $(INSTALL_DIR
) $(1)/etc
/init.d
642 $(INSTALL_BIN
) .
/files
/asterisk.init
$(1)/etc
/init.d
/asterisk
646 define Package
/asterisk14-app-meetme
/conffiles
647 /etc
/asterisk
/meetme.conf
650 define Package
/asterisk14-app-meetme
/install
651 $(INSTALL_DIR
) $(1)/etc
/asterisk
652 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/meetme.conf
$(1)/etc
/asterisk
/
653 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
654 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/app_meetme.so
$(1)/usr
/lib
/asterisk
/modules
/
658 define Package
/asterisk14-chan-oss
/conffiles
659 /etc
/asterisk
/oss.conf
662 define Package
/asterisk14-chan-oss
/install
663 $(INSTALL_DIR
) $(1)/etc
/asterisk
664 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/oss.conf
$(1)/etc
/asterisk
/
665 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
666 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_oss.so
$(1)/usr
/lib
/asterisk
/modules
/
670 define Package
/asterisk14-app-meetme
/conffiles
671 /etc
/asterisk
/meetme.conf
674 define Package
/asterisk14-app-meetme
/install
675 $(INSTALL_DIR
) $(1)/etc
/asterisk
676 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/meetme.conf
$(1)/etc
/asterisk
/
677 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
678 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/app_meetme.so
$(1)/usr
/lib
/asterisk
/modules
/
682 define Package
/asterisk14-chan-oss
/conffiles
683 /etc
/asterisk
/oss.conf
686 define Package
/asterisk14-chan-oss
/install
687 $(INSTALL_DIR
) $(1)/etc
/asterisk
688 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/oss.conf
$(1)/etc
/asterisk
/
689 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
690 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_oss.so
$(1)/usr
/lib
/asterisk
/modules
/
694 define Package
/asterisk14-chan-alsa
/conffiles
695 /etc
/asterisk
/alsa.conf
698 define Package
/asterisk14-chan-alsa
/install
699 $(INSTALL_DIR
) $(1)/etc
/asterisk
700 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/alsa.conf
$(1)/etc
/asterisk
/
701 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
702 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_alsa.so
$(1)/usr
/lib
/asterisk
/modules
/
706 define Package
/asterisk14-chan-gtalk
/conffiles
707 /etc
/asterisk
/gtalk.conf
708 /etc
/asterisk
/jabber.conf
711 define Package
/asterisk14-chan-gtalk
/install
712 $(INSTALL_DIR
) $(1)/etc
/asterisk
713 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/gtalk.conf
$(1)/etc
/asterisk
/
714 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/jabber.conf
$(1)/etc
/asterisk
/
715 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
716 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_gtalk.so
$(1)/usr
/lib
/asterisk
/modules
/
717 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_jabber.so
$(1)/usr
/lib
/asterisk
/modules
/
721 define Package
/asterisk14-chan-h323
/conffiles
722 /etc
/asterisk
/h323.conf
725 define Package
/asterisk14-chan-h323
/install
726 $(INSTALL_DIR
) $(1)/etc
/asterisk
727 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/h323.conf
$(1)/etc
/asterisk
/
728 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
729 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_h323.so
$(1)/usr
/lib
/asterisk
/modules
/
733 define Package
/asterisk14-chan-mgcp
/install
734 /etc
/asterisk
/mgcp.conf
737 define Package
/asterisk14-chan-mgcp
/install
738 $(INSTALL_DIR
) $(1)/etc
/asterisk
739 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/mgcp.conf
$(1)/etc
/asterisk
/
740 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
741 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_mgcp.so
$(1)/usr
/lib
/asterisk
/modules
/
745 define Package
/asterisk14-chan-skinny
/conffiles
746 /etc
/asterisk
/skinny.conf
749 define Package
/asterisk14-chan-skinny
/install
750 $(INSTALL_DIR
) $(1)/etc
/asterisk
751 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/skinny.conf
$(1)/etc
/asterisk
/
752 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
753 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_skinny.so
$(1)/usr
/lib
/asterisk
/modules
/
757 #define Package/asterisk14-codec-ilbc/install
758 # $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
759 # $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/codec_ilbc.so $(1)/usr/lib/asterisk/modules/
760 # $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/format_ilbc.so $(1)/usr/lib/asterisk/modules/
764 define Package
/asterisk14-codec-lpc10
/install
765 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
766 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/codec_lpc10.so
$(1)/usr
/lib
/asterisk
/modules
/
770 define Package
/asterisk14-codec-speex
/install
771 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
772 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/codec_speex.so
$(1)/usr
/lib
/asterisk
/modules
/
776 define Package
/asterisk14-pbx-dundi
/conffiles
777 /etc
/asterisk
/dundi.conf
780 define Package
/asterisk14-pbx-dundi
/install
781 $(INSTALL_DIR
) $(1)/etc
/asterisk
782 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/dundi.conf
$(1)/etc
/asterisk
/
783 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
784 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/pbx_dundi.so
$(1)/usr
/lib
/asterisk
/modules
/
788 define Package
/asterisk14-res-agi
/install
789 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/agi-bin
790 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
791 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_agi.so
$(1)/usr
/lib
/asterisk
/modules
/
795 define Package
/asterisk14-res-crypto
/install
796 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
797 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_crypto.so
$(1)/usr
/lib
/asterisk
/modules
/
801 define Package
/asterisk14-pgsql
/conffiles
802 /etc
/asterisk
/cdr_pgsql.conf
803 /etc
/asterisk
/res_pgsql.conf
806 define Package
/asterisk14-pgsql
/install
807 $(INSTALL_DIR
) $(1)/etc
/asterisk
808 install -m0600
$(PKG_INSTALL_DIR
)/etc
/asterisk
/cdr_pgsql.conf
$(1)/etc
/asterisk
/
809 install -m0600
$(PKG_INSTALL_DIR
)/etc
/asterisk
/res_pgsql.conf
$(1)/etc
/asterisk
/
810 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
811 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/cdr_pgsql.so
$(1)/usr
/lib
/asterisk
/modules
/
812 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_config_pgsql.so
$(1)/usr
/lib
/asterisk
/modules
/
816 define Package
/asterisk14-sqlite
/install
817 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
818 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/cdr_sqlite.so
$(1)/usr
/lib
/asterisk
/modules
/
822 define Package
/asterisk14-sounds
/install
823 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/sounds
824 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/sounds
/* $(1)/usr
/lib
/asterisk
/sounds
/
825 rm -f
$(1)/usr
/lib
/asterisk
/sounds
/vm-
*
826 rm -f
$(1)/usr
/lib
/asterisk
/sounds
/x
830 define Package
/asterisk14-voicemail
/conffiles
831 /etc
/asterisk
/voicemail.conf
834 define Package
/asterisk14-voicemail
/install
835 $(INSTALL_DIR
) $(1)/etc
/asterisk
836 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/voicemail.conf
$(1)/etc
/asterisk
/
837 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
838 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/*voicemail.so
$(1)/usr
/lib
/asterisk
/modules
/
839 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_adsi.so
$(1)/usr
/lib
/asterisk
/modules
/
840 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/sounds
841 $(CP
) $(PKG_INSTALL_DIR
)//usr
/lib
/asterisk
/sounds
/vm-
*.gsm
$(1)/usr
/lib
/asterisk
/sounds
/
844 define Package
/asterisk14-rawplayer
/install
845 $(INSTALL_DIR
) $(1)/usr
/bin
846 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/rawplayer \
851 $(eval
$(call BuildPackage
,asterisk14
))
852 $(eval
$(call BuildPackage
,asterisk14-mini
))
853 $(eval
$(call BuildPackage
,asterisk14-app-meetme
))
854 $(eval
$(call BuildPackage
,asterisk14-chan-oss
))
855 $(eval
$(call BuildPackage
,asterisk14-chan-alsa
))
856 $(eval
$(call BuildPackage
,asterisk14-chan-gtalk
))
857 $(eval
$(call BuildPackage
,asterisk14-chan-h323
))
858 $(eval
$(call BuildPackage
,asterisk14-chan-mgcp
))
859 $(eval
$(call BuildPackage
,asterisk14-chan-skinny
))
860 #$(eval $(call BuildPackage,asterisk14-codec-ilbc))
861 $(eval
$(call BuildPackage
,asterisk14-codec-lpc10
))
862 $(eval
$(call BuildPackage
,asterisk14-codec-speex
))
863 $(eval
$(call BuildPackage
,asterisk14-pbx-dundi
))
864 $(eval
$(call BuildPackage
,asterisk14-res-agi
))
865 $(eval
$(call BuildPackage
,asterisk14-res-crypto
))
866 $(eval
$(call BuildPackage
,asterisk14-pgsql
))
867 $(eval
$(call BuildPackage
,asterisk14-sqlite
))
868 $(eval
$(call BuildPackage
,asterisk14-voicemail
))
869 $(eval
$(call BuildPackage
,asterisk14-sounds
))
870 $(eval
$(call BuildPackage
,asterisk14-rawplayer
))