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 MAINTAINER
:=Hans Zandbelt
<hans.zandbelt@gmail.com
>
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=http
://downloads.digium.com
/pub
/asterisk
/releases
/
18 PKG_MD5SUM
:=ca17be11559eb939ea16b8de98ddeefb
20 PKG_BUILD_DEPENDS
:= libopenh323 pwlib
22 include $(INCLUDE_DIR
)/package.mk
24 STAMP_CONFIGURED
:=$(STAMP_CONFIGURED
)_
$(call confvar
, \
25 CONFIG_PACKAGE_asterisk14 CONFIG_PACKAGE_asterisk14-mini \
26 CONFIG_PACKAGE_asterisk14-chan-alsa CONFIG_PACKAGE_asterisk14-chan-gtalk \
27 CONFIG_PACKAGE_asterisk14-chan-h323 CONFIG_PACKAGE_asterisk14-chan-mgcp \
28 CONFIG_PACKAGE_asterisk14-chan-skinny CONFIG_PACKAGE_asterisk14-codec-ilbc \
29 CONFIG_PACKAGE_asterisk14-codec-lpc10 CONFIG_PACKAGE_asterisk14-codec-speex \
30 CONFIG_PACKAGE_asterisk14-pbx-dundi CONFIG_PACKAGE_asterisk14-res-agi \
31 CONFIG_PACKAGE_asterisk14-res-crypto CONFIG_PACKAGE_asterisk14-pgsql \
32 CONFIG_PACKAGE_asterisk14-sqlite CONFIG_PACKAGE_asterisk14-voicemail \
33 CONFIG_PACKAGE_asterisk14-sounds \
36 define Package
/asterisk14
/Default
37 SUBMENU
:=asterisk14
(Complete Open Source PBX
), v1.4.x
40 URL
:=http
://www.asterisk.org
/
43 define Package
/asterisk14
/Default
/description
44 Asterisk is a complete PBX in software. It provides
all of the features
45 you would expect from a PBX and more. Asterisk does voice over IP in three
46 protocols
, and can interoperate with almost
all standards-based telephony
47 equipment using relatively inexpensive hardware.
51 define Package
/asterisk14
52 $(call Package
/asterisk14
/Default
)
53 TITLE
:=Complete open source PBX
54 DEPENDS
:= +libncurses
+libpopt
+libpthread @
!TARGET_avr32
57 define Package
/asterisk14
/description
58 $(call Package
/asterisk14
/Default
/description
)
62 define Package
/asterisk14-mini
63 $(call Package
/asterisk14
/Default
)
64 TITLE
:=Minimal open source PBX
65 DEPENDS
:=+libncurses
+libpthread @
!TARGET_avr32
68 define Package
/asterisk14-mini
/description
69 $(call Package
/asterisk14
/Default
/description
)
70 This package contains only the following modules
:
87 define Package
/asterisk14-app-meetme
88 $(call Package
/asterisk14
/Default
)
89 TITLE
:=conferencing support
90 DEPENDS
:= +asterisk14
+zaptel14-libtonezone
93 define Package
/asterisk14-app-meetme
/description
94 $(call Package
/asterisk14
/Default
/description
)
95 This package provides the MeetMe application driver Conferencing support to
100 define Package
/asterisk14-chan-oss
101 $(call Package
/asterisk14
/Default
)
102 TITLE
:=OSS soundcards support
103 DEPENDS
:= +asterisk14
106 define Package
/asterisk14-chan-oss
/description
107 $(call Package
/asterisk14
/Default
/description
)
108 This package provides the channel driver for OSS sound cards support to
113 define Package
/asterisk14-app-meetme
114 $(call Package
/asterisk14
/Default
)
115 TITLE
:=conferencing support
116 DEPENDS
:= +asterisk14
+zaptel14-libtonezone
119 define Package
/asterisk14-app-meetme
/description
120 $(call Package
/asterisk14
/Default
/description
)
121 This package provides the MeetMe application driver Conferencing support to
126 define Package
/asterisk14-chan-oss
127 $(call Package
/asterisk14
/Default
)
128 TITLE
:=OSS soundcards support
129 DEPENDS
:= +asterisk14
132 define Package
/asterisk14-chan-oss
/description
133 $(call Package
/asterisk14
/Default
/description
)
134 This package provides the channel driver for OSS sound cards support to
139 define Package
/asterisk14-chan-alsa
140 $(call Package
/asterisk14
/Default
)
141 TITLE
:=ALSA soundcards support
142 DEPENDS
:= +asterisk14
+alsa-lib
145 define Package
/asterisk14-chan-alsa
/description
146 $(call Package
/asterisk14
/Default
/description
)
147 This package provides the channel driver for ALSA sound cards support to
152 define Package
/asterisk14-chan-gtalk
153 $(call Package
/asterisk14
/Default
)
155 DEPENDS
:= +asterisk14
+libiksemel
158 define Package
/asterisk14-chan-gtalk
/description
159 $(call Package
/asterisk14
/Default
/description
)
160 This package provides the channel chan_gtalk and res_jabber for GTalk
165 define Package
/asterisk14-chan-h323
166 $(call Package
/asterisk14
/Default
)
167 TITLE
:=H
.323 support for Asterisk
168 DEPENDS
:= +asterisk14
+uclibcxx
171 define Package
/asterisk14-chan-h323
/description
172 $(call Package
/asterisk14
/Default
/description
)
173 This package provides H
.323 support to Asterisk.
177 define Package
/asterisk14-chan-mgcp
178 $(call Package
/asterisk14
/Default
)
180 DEPENDS
:= +asterisk14
183 define Package
/asterisk14-chan-mgcp
/description
184 $(call Package
/asterisk14
/Default
/description
)
185 This package provides MGCP
(Media Gateway Control Protocol
) support
\\\
190 define Package
/asterisk14-chan-skinny
191 $(call Package
/asterisk14
/Default
)
192 TITLE
:=Skinny Client Control Protocol support
193 DEPENDS
:= +asterisk14
196 define Package
/asterisk14-chan-skinny
/description
197 $(call Package
/asterisk14
/Default
/description
)
198 This package provided Skinny Client Control Protocol support to
\\\
203 #define Package/asterisk14-codec-ilbc
204 #$(call Package/asterisk14/Default)
205 # TITLE:=ILBC Translator
206 # DEPENDS:= +asterisk14
209 #define Package/asterisk14-codec-ilbc/description
210 #$(call Package/asterisk14/Default/description)
211 # This package contains the ILBC (Internet Low Bitrate Codec) translator
216 define Package
/asterisk14-codec-lpc10
217 $(call Package
/asterisk14
/Default
)
218 TITLE
:=LPC10
2.4kbps voice codec Translator
219 DEPENDS
:= +asterisk14
222 define Package
/asterisk14-chan-lpc10
/description
223 $(call Package
/asterisk14
/Default
/description
)
224 This package contains the LPC10
(Linear Predictor Code
) 2.4kbps voice
225 codec translator for Asterisk.
229 define Package
/asterisk14-codec-speex
230 $(call Package
/asterisk14
/Default
)
231 TITLE
:=Speex
/PCM16 Codec Translator
232 DEPENDS
:= +asterisk14
+libspeex
+libspeexdsp
235 define Package
/asterisk14-chan-speex
/description
236 $(call Package
/asterisk14
/Default
/description
)
237 This package contains the Speex speech compression codec translator for
242 define Package
/asterisk14-pbx-dundi
243 $(call Package
/asterisk14
/Default
)
245 DEPENDS
:= +asterisk14
248 define Package
/asterisk14-pbx-dundi
/description
249 $(call Package
/asterisk14
/Default
/description
)
250 This package provides DUNDi
(Distributed Universal Number Discovery
)
255 define Package
/asterisk14-res-agi
256 $(call Package
/asterisk14
/Default
)
258 DEPENDS
:= +asterisk14
261 define Package
/asterisk14-res-agi
/description
262 $(call Package
/asterisk14
/Default
/description
)
263 This package provides AGI
(Asterisk Gateway Interface
) support to
268 define Package
/asterisk14-res-crypto
269 $(call Package
/asterisk14
/Default
)
270 TITLE
:=Cryptographic Digital Signatures support
271 DEPENDS
:= +asterisk14
+libopenssl
274 define Package
/asterisk14-res-crypto
/description
275 $(call Package
/asterisk14
/Default
/description
)
276 This package provides Cryptographic Digital Signatures support to
281 define Package
/asterisk14-pgsql
282 $(call Package
/asterisk14
/Default
)
283 TITLE
:=PostgreSQL support
284 DEPENDS
:= +asterisk14
+libpq
287 define Package
/asterisk14-pgsql
/description
288 $(call Package
/asterisk14
/Default
/description
)
289 This package contains PostgreSQL support modules for Asterisk.
293 define Package
/asterisk14-sqlite
294 $(call Package
/asterisk14
/Default
)
295 TITLE
:=SQLite modules
296 DEPENDS
:= +asterisk14
+libsqlite2
299 define Package
/asterisk14-sqlite
/description
300 $(call Package
/asterisk14
/Default
/description
)
301 This package contains SQLite support modules for Asterisk.
305 define Package
/asterisk14-sounds
306 $(call Package
/asterisk14
/Default
)
308 DEPENDS
:= +asterisk14
311 define Package
/asterisk14-sounds
/description
312 $(call Package
/asterisk14
/Default
/description
)
313 This package contains sound files for Asterisk.
317 define Package
/asterisk14-voicemail
318 $(call Package
/asterisk14
/Default
)
319 TITLE
:=Voicemail support
320 DEPENDS
:= +asterisk14
323 define Package
/asterisk14-voicemail
/description
324 $(call Package
/asterisk14
/Default
/description
)
325 This package contains voicemail related modules for Asterisk.
328 define Package
/asterisk14-rawplayer
329 $(call Package
/asterisk14
/Default
)
330 TITLE
:=Play raw files for asterisk
333 define Package
/asterisk14-rawplayer
/description
334 Contains the rawplayer utility for asterisk
341 --with-gsm
="internal" \
347 --with-ncurses
="$(STAGING_DIR)/usr" \
353 --with-popt
="$(STAGING_DIR)/usr" \
364 --with-z
="$(STAGING_DIR)/usr" \
366 EXTRA_CFLAGS
:= $(TARGET_CPPFLAGS
)
367 EXTRA_LDFLAGS
:= $(TARGET_LDFLAGS
)
369 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-app-meetme
),)
371 --with-tonezone
="$(STAGING_DIR)/usr" --with-zaptel
="$(STAGING_DIR)/usr"
374 --without-tonezone
--without-zaptel
377 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-chan-alsa
),)
379 --with-asound
="$(STAGING_DIR)/usr"
385 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-chan-oss
),)
393 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-chan-gtalk
),)
395 --with-gnutls
="$(STAGING_DIR)/usr" \
396 --with-iksemel
="$(STAGING_DIR)/usr"
398 ac_cv_lib_iksemel_iks_start_sasl
=yes \
399 ac_cv_lib_gnutls_gnutls_bye
=yes
406 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-chan-h323
),)
408 --with-h323
="$(BUILD_DIR)/openh323" \
409 --with-pwlib
="$(BUILD_DIR)/pwlib"
411 LIBS
="$$$$LIBS -luClibc++ -ldl -lpthread"
413 define Build
/Compile
/chan-h323
414 $(MAKE
) -C
"$(PKG_BUILD_DIR)/channels/h323" \
415 $(TARGET_CONFIGURE_OPTS
) \
416 CXXLIBS
="-nodefaultlibs -luClibc++" \
425 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-codec-speex
),)
427 --with-speex
="$(STAGING_DIR)/usr"
429 ac_cv_lib_speex_speex_encode
=yes
430 EXTRA_CFLAGS
+= -I
$(STAGING_DIR
)/usr
/include/speex
436 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-res-crypto
),)
438 --with-ssl
="$(STAGING_DIR)/usr"
444 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-pgsql
),)
446 --with-postgres
="$(STAGING_DIR)/usr"
452 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk14-sqlite
),)
454 --with-sqlite
="$(STAGING_DIR)/usr"
461 define Build
/Configure
462 -rm $(PKG_BUILD_DIR
)/menuselect.makeopts
463 ( cd
$(PKG_BUILD_DIR
); .
/bootstrap.sh
)
464 $(call Build
/Configure
/Default
,,$(SITE_VARS
))
468 $(MAKE
) -C
"$(PKG_BUILD_DIR)" \
469 include/asterisk
/version.h \
470 include/asterisk
/buildopts.h defaults.h \
472 $(call Build
/Compile
/chan-h323
)
473 ASTCFLAGS
="$(EXTRA_CFLAGS) -DLOW_MEMORY $(TARGET_CFLAGS)" \
474 ASTLDFLAGS
="$(EXTRA_LDFLAGS)" \
475 $(MAKE
) -C
"$(PKG_BUILD_DIR)" \
476 ASTVARLIBDIR
="/usr/lib/asterisk" \
480 DESTDIR
="$(PKG_INSTALL_DIR)" \
482 $(SED
) 's|/var/lib/asterisk|/usr/lib/asterisk|g' $(PKG_INSTALL_DIR
)/etc
/asterisk
/musiconhold.conf
484 $(TARGET_CC
) -O2
$(PKG_BUILD_DIR
)/contrib
/utils
/rawplayer.c
-o
$(PKG_BUILD_DIR
)/rawplayer
487 define Build
/InstallDev
488 $(INSTALL_DIR
) $(1)/usr
/include/asterisk
/
489 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/asterisk
/*.h
$(1)/usr
/include/asterisk
/
490 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/asterisk.h
$(1)/usr
/include/
494 define Package
/asterisk14
/conffiles
495 /etc
/asterisk
/agents.conf
496 /etc
/asterisk
/alarmreceiver.conf
497 /etc
/asterisk
/amd.conf
498 /etc
/asterisk
/asterisk.conf
499 /etc
/asterisk
/cdr.conf
500 /etc
/asterisk
/cdr_custom.conf
501 /etc
/asterisk
/cdr_manager.conf
502 /etc
/asterisk
/codecs.conf
503 /etc
/asterisk
/dnsmgr.conf
504 /etc
/asterisk
/enum.conf
505 /etc
/asterisk
/extconfig.conf
506 /etc
/asterisk
/extensions.ael
507 /etc
/asterisk
/extensions.conf
508 /etc
/asterisk
/features.conf
509 /etc
/asterisk
/followme.conf
510 /etc
/asterisk
/http.conf
511 /etc
/asterisk
/iax.conf
512 /etc
/asterisk
/iaxprov.conf
513 /etc
/asterisk
/indications.conf
514 /etc
/asterisk
/logger.conf
515 /etc
/asterisk
/manager.conf
516 /etc
/asterisk
/misdn.conf
517 /etc
/asterisk
/modules.conf
518 /etc
/asterisk
/musiconhold.conf
519 /etc
/asterisk
/muted.conf
520 /etc
/asterisk
/osp.conf
521 /etc
/asterisk
/privacy.conf
522 /etc
/asterisk
/queues.conf
523 /etc
/asterisk
/rtp.conf
524 /etc
/asterisk
/say.conf
525 /etc
/asterisk
/sip.conf
526 /etc
/asterisk
/sip_notify.conf
527 /etc
/asterisk
/sla.conf
528 /etc
/asterisk
/smdi.conf
529 /etc
/asterisk
/udptl.conf
530 /etc
/asterisk
/users.conf
533 #define Package/asterisk14/postinst
535 #ROOT=`echo $${PKG_ROOT} | sed 's:[\/]:\\\&:g' -`
536 #/bin/sed -i 's/\ \/etc/\ '$${ROOT}'etc/g' $${PKG_ROOT}/etc/asterisk/asterisk.conf
537 #/bin/sed -i 's/\ \/var/\ '$${ROOT}'var/g' $${PKG_ROOT}/etc/asterisk/asterisk.conf
538 #/bin/sed -i 's/\ \/usr/\ '$${ROOT}'usr/g' $${PKG_ROOT}/etc/asterisk/asterisk.conf
539 #/bin/sed -i 's/^DEST=/DEST='$${ROOT}'/g' $${PKG_ROOT}/etc/init.d/asterisk
540 #/bin/sed -i 's/OPTIONS=\"\"/OPTIONS=\"-C\ '$${ROOT}'etc\/asterisk\/asterisk.conf\"/g' $${PKG_ROOT}/etc/default/asterisk
543 define Package
/asterisk14
/install
544 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)
545 rm -rf
$(1)/usr
/sbin
/astgenkey
546 rm -rf
$(1)/usr
/sbin
/aelparse
547 rm -rf
$(1)/usr
/sbin
/autosupport
548 rm -rf
$(1)/usr
/sbin
/muted
549 rm -rf
$(1)/usr
/sbin
/stereorize
552 rm -rf
$(1)/usr
/include
554 (cd
$(1)/usr
/lib
/asterisk
; \
561 rm -rf
*adsi
* *festival
* *modem
* *oss
* *phone
* *intercom
* \
562 *mp3
* *nbscat
* *sqlite
* *mysql
* *postgres
* *pgsql
* \
563 *voicemail
* *speex
* *flash
* *page
* *meetme
* *zap
* *jpeg
* \
571 {codec
,format
}_ilbc.so \
578 (cd
$(1)/etc
/asterisk
; \
579 rm -f
*odbc
* *mysql
* *postgres
* *pgsql
* *voicemail
* \
580 *adsi
* *oss
* *alsa
* *festival
* *modem
* *phone
* \
581 *tds
* *vofr
* *rpt
* *vpb
* *snmp
* \
591 $(INSTALL_DATA
) .
/files
/modules.conf
$(1)/etc
/asterisk
/
592 $(INSTALL_DIR
) $(1)/etc
/default
593 $(INSTALL_DATA
) .
/files
/asterisk.default
$(1)/etc
/default
/asterisk
594 $(INSTALL_DIR
) $(1)/etc
/init.d
595 $(INSTALL_BIN
) .
/files
/asterisk.init
$(1)/etc
/init.d
/asterisk
599 define Package
/asterisk14-mini
/conffiles
600 /etc
/asterisk
/asterisk.conf
601 /etc
/asterisk
/enum.conf
602 /etc
/asterisk
/extconfig.conf
603 /etc
/asterisk
/extensions.conf
604 /etc
/asterisk
/features.conf
605 /etc
/asterisk
/http.conf
606 /etc
/asterisk
/iax.conf
607 /etc
/asterisk
/iaxprov.conf
608 /etc
/asterisk
/logger.conf
609 /etc
/asterisk
/manager.conf
610 /etc
/asterisk
/modules.conf
611 /etc
/asterisk
/musiconhold.conf
612 /etc
/asterisk
/rtp.conf
613 /etc
/asterisk
/sip.conf
614 /etc
/asterisk
/sip_notify.conf
615 /etc
/asterisk
/users.conf
618 define Package
/asterisk14-mini
/install
619 $(INSTALL_DIR
) $(1)/etc
/asterisk
620 for f in asterisk enum extconfig extensions features http \
621 iax iaxprov logger manager modules musiconhold rtp \
622 sip sip_notify users
; do \
623 $(CP
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/$$$$f.conf
$(1)/etc
/asterisk
/ ; \
625 $(INSTALL_DATA
) .
/files
/modules.conf
$(1)/etc
/asterisk
/
626 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
627 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/firmware
$(1)/usr
/lib
/asterisk
/
628 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/keys
629 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
630 for f in app_dial chan_iax2 chan_local chan_sip codec_gsm \
631 codec_ulaw format_gsm format_pcm format_wav format_wav_gsm \
632 pbx_config res_features res_musiconhold
; do \
633 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/$$$$f.so
$(1)/usr
/lib
/asterisk
/modules
/ ; \
635 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/moh
636 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/sounds
637 $(INSTALL_DIR
) $(1)/usr
/sbin
638 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/asterisk
$(1)/usr
/sbin
/
639 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/safe_asterisk
$(1)/usr
/sbin
/
640 $(INSTALL_DIR
) $(1)/etc
/default
641 $(INSTALL_DATA
) .
/files
/asterisk.default
$(1)/etc
/default
/asterisk
642 $(INSTALL_DIR
) $(1)/etc
/init.d
643 $(INSTALL_BIN
) .
/files
/asterisk.init
$(1)/etc
/init.d
/asterisk
647 define Package
/asterisk14-app-meetme
/conffiles
648 /etc
/asterisk
/meetme.conf
651 define Package
/asterisk14-app-meetme
/install
652 $(INSTALL_DIR
) $(1)/etc
/asterisk
653 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/meetme.conf
$(1)/etc
/asterisk
/
654 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
655 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/app_meetme.so
$(1)/usr
/lib
/asterisk
/modules
/
659 define Package
/asterisk14-chan-oss
/conffiles
660 /etc
/asterisk
/oss.conf
663 define Package
/asterisk14-chan-oss
/install
664 $(INSTALL_DIR
) $(1)/etc
/asterisk
665 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/oss.conf
$(1)/etc
/asterisk
/
666 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
667 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_oss.so
$(1)/usr
/lib
/asterisk
/modules
/
671 define Package
/asterisk14-app-meetme
/conffiles
672 /etc
/asterisk
/meetme.conf
675 define Package
/asterisk14-app-meetme
/install
676 $(INSTALL_DIR
) $(1)/etc
/asterisk
677 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/meetme.conf
$(1)/etc
/asterisk
/
678 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
679 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/app_meetme.so
$(1)/usr
/lib
/asterisk
/modules
/
683 define Package
/asterisk14-chan-oss
/conffiles
684 /etc
/asterisk
/oss.conf
687 define Package
/asterisk14-chan-oss
/install
688 $(INSTALL_DIR
) $(1)/etc
/asterisk
689 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/oss.conf
$(1)/etc
/asterisk
/
690 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
691 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_oss.so
$(1)/usr
/lib
/asterisk
/modules
/
695 define Package
/asterisk14-chan-alsa
/conffiles
696 /etc
/asterisk
/alsa.conf
699 define Package
/asterisk14-chan-alsa
/install
700 $(INSTALL_DIR
) $(1)/etc
/asterisk
701 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/alsa.conf
$(1)/etc
/asterisk
/
702 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
703 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_alsa.so
$(1)/usr
/lib
/asterisk
/modules
/
707 define Package
/asterisk14-chan-gtalk
/conffiles
708 /etc
/asterisk
/gtalk.conf
709 /etc
/asterisk
/jabber.conf
712 define Package
/asterisk14-chan-gtalk
/install
713 $(INSTALL_DIR
) $(1)/etc
/asterisk
714 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/gtalk.conf
$(1)/etc
/asterisk
/
715 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/jabber.conf
$(1)/etc
/asterisk
/
716 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
717 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_gtalk.so
$(1)/usr
/lib
/asterisk
/modules
/
718 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_jabber.so
$(1)/usr
/lib
/asterisk
/modules
/
722 define Package
/asterisk14-chan-h323
/conffiles
723 /etc
/asterisk
/h323.conf
726 define Package
/asterisk14-chan-h323
/install
727 $(INSTALL_DIR
) $(1)/etc
/asterisk
728 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/h323.conf
$(1)/etc
/asterisk
/
729 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
730 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_h323.so
$(1)/usr
/lib
/asterisk
/modules
/
734 define Package
/asterisk14-chan-mgcp
/install
735 /etc
/asterisk
/mgcp.conf
738 define Package
/asterisk14-chan-mgcp
/install
739 $(INSTALL_DIR
) $(1)/etc
/asterisk
740 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/mgcp.conf
$(1)/etc
/asterisk
/
741 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
742 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_mgcp.so
$(1)/usr
/lib
/asterisk
/modules
/
746 define Package
/asterisk14-chan-skinny
/conffiles
747 /etc
/asterisk
/skinny.conf
750 define Package
/asterisk14-chan-skinny
/install
751 $(INSTALL_DIR
) $(1)/etc
/asterisk
752 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/skinny.conf
$(1)/etc
/asterisk
/
753 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
754 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_skinny.so
$(1)/usr
/lib
/asterisk
/modules
/
758 #define Package/asterisk14-codec-ilbc/install
759 # $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
760 # $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/codec_ilbc.so $(1)/usr/lib/asterisk/modules/
761 # $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/format_ilbc.so $(1)/usr/lib/asterisk/modules/
765 define Package
/asterisk14-codec-lpc10
/install
766 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
767 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/codec_lpc10.so
$(1)/usr
/lib
/asterisk
/modules
/
771 define Package
/asterisk14-codec-speex
/install
772 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
773 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/codec_speex.so
$(1)/usr
/lib
/asterisk
/modules
/
777 define Package
/asterisk14-pbx-dundi
/conffiles
778 /etc
/asterisk
/dundi.conf
781 define Package
/asterisk14-pbx-dundi
/install
782 $(INSTALL_DIR
) $(1)/etc
/asterisk
783 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/dundi.conf
$(1)/etc
/asterisk
/
784 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
785 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/pbx_dundi.so
$(1)/usr
/lib
/asterisk
/modules
/
789 define Package
/asterisk14-res-agi
/install
790 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/agi-bin
791 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
792 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_agi.so
$(1)/usr
/lib
/asterisk
/modules
/
796 define Package
/asterisk14-res-crypto
/install
797 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
798 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_crypto.so
$(1)/usr
/lib
/asterisk
/modules
/
802 define Package
/asterisk14-pgsql
/conffiles
803 /etc
/asterisk
/cdr_pgsql.conf
804 /etc
/asterisk
/res_pgsql.conf
807 define Package
/asterisk14-pgsql
/install
808 $(INSTALL_DIR
) $(1)/etc
/asterisk
809 install -m0600
$(PKG_INSTALL_DIR
)/etc
/asterisk
/cdr_pgsql.conf
$(1)/etc
/asterisk
/
810 install -m0600
$(PKG_INSTALL_DIR
)/etc
/asterisk
/res_pgsql.conf
$(1)/etc
/asterisk
/
811 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
812 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/cdr_pgsql.so
$(1)/usr
/lib
/asterisk
/modules
/
813 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_config_pgsql.so
$(1)/usr
/lib
/asterisk
/modules
/
817 define Package
/asterisk14-sqlite
/install
818 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
819 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/cdr_sqlite.so
$(1)/usr
/lib
/asterisk
/modules
/
823 define Package
/asterisk14-sounds
/install
824 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/sounds
825 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/sounds
/* $(1)/usr
/lib
/asterisk
/sounds
/
826 rm -f
$(1)/usr
/lib
/asterisk
/sounds
/vm-
*
827 rm -f
$(1)/usr
/lib
/asterisk
/sounds
/x
831 define Package
/asterisk14-voicemail
/conffiles
832 /etc
/asterisk
/voicemail.conf
835 define Package
/asterisk14-voicemail
/install
836 $(INSTALL_DIR
) $(1)/etc
/asterisk
837 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/voicemail.conf
$(1)/etc
/asterisk
/
838 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
839 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/*voicemail.so
$(1)/usr
/lib
/asterisk
/modules
/
840 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_adsi.so
$(1)/usr
/lib
/asterisk
/modules
/
841 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/sounds
842 $(CP
) $(PKG_INSTALL_DIR
)//usr
/lib
/asterisk
/sounds
/vm-
*.gsm
$(1)/usr
/lib
/asterisk
/sounds
/
845 define Package
/asterisk14-rawplayer
/install
846 $(INSTALL_DIR
) $(1)/usr
/bin
847 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/rawplayer \
852 $(eval
$(call BuildPackage
,asterisk14
))
853 $(eval
$(call BuildPackage
,asterisk14-mini
))
854 $(eval
$(call BuildPackage
,asterisk14-app-meetme
))
855 $(eval
$(call BuildPackage
,asterisk14-chan-oss
))
856 $(eval
$(call BuildPackage
,asterisk14-chan-alsa
))
857 $(eval
$(call BuildPackage
,asterisk14-chan-gtalk
))
858 $(eval
$(call BuildPackage
,asterisk14-chan-h323
))
859 $(eval
$(call BuildPackage
,asterisk14-chan-mgcp
))
860 $(eval
$(call BuildPackage
,asterisk14-chan-skinny
))
861 #$(eval $(call BuildPackage,asterisk14-codec-ilbc))
862 $(eval
$(call BuildPackage
,asterisk14-codec-lpc10
))
863 $(eval
$(call BuildPackage
,asterisk14-codec-speex
))
864 $(eval
$(call BuildPackage
,asterisk14-pbx-dundi
))
865 $(eval
$(call BuildPackage
,asterisk14-res-agi
))
866 $(eval
$(call BuildPackage
,asterisk14-res-crypto
))
867 $(eval
$(call BuildPackage
,asterisk14-pgsql
))
868 $(eval
$(call BuildPackage
,asterisk14-sqlite
))
869 $(eval
$(call BuildPackage
,asterisk14-voicemail
))
870 $(eval
$(call BuildPackage
,asterisk14-sounds
))
871 $(eval
$(call BuildPackage
,asterisk14-rawplayer
))