* updated maddy (0.7.1 -> 0.8.1), untested
[t2sde.git] / package / network / asterisk-addons / asterisk-addons.conf
blob5aec9e2656d7d6ab0ff06d2b2aaa91568cbc11bb
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/asterisk-addons/asterisk-addons.conf
3 # Copyright (C) 2006 - 2023 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 pkgprefix -t asterisk
14 if [ $prefix_auto = 1 ]; then
15         prefix="`pkgprefix asterisk`"
16         set_confopt
19 # we need to build the configuration tool natively
20 # code shared with asterisk
21 if atstage cross; then
22         asterisk_build_menuselect() {
23           (
24                 cd menuselect
25                 CC=$HOST_CC CPP=cpp RANLIB=ranlib \
26                 ./configure --build $arch_build
27                 eval $MAKE
28           )
29         }
30         hook_add preconf 5 "asterisk_build_menuselect"
33 var_append makeopt ' ' "ASTLIBDIR=$(pkgprefix libdir asterisk)"
34 var_append makeinstopt ' ' "ASTLIBDIR=$(pkgprefix libdir asterisk)"
35 var_append GCC_WRAPPER_APPEND ' ' "-I$(pkgprefix includedir asterisk)"