Author: arekm                        Date: Tue Jun  7 16:35:23 2011 GMT
Module: packages                      Tag: ASTERISK_1_4
---- Log message:
- zaptel support back in form of bcond (there are non-DAHDI drivers out there)

---- Files affected:
packages/asterisk:
   asterisk.spec (1.126.2.16 -> 1.126.2.17) 

---- Diffs:

================================================================
Index: packages/asterisk/asterisk.spec
diff -u packages/asterisk/asterisk.spec:1.126.2.16 
packages/asterisk/asterisk.spec:1.126.2.17
--- packages/asterisk/asterisk.spec:1.126.2.16  Mon May 30 11:29:10 2011
+++ packages/asterisk/asterisk.spec     Tue Jun  7 18:35:17 2011
@@ -11,6 +11,7 @@
 %bcond_with    rxfax           # without rx (also tx :-D) fax
 %bcond_with    bluetooth       # without bluetooth support (NFT)
 %bcond_without h323            # With H.323 support
+%bcond_with    zaptel          # zaptel instead of dahdi
 %bcond_with    zhone           # zhone hack
 %bcond_with    zhone_hack      # huge hack workarounding broken zhone channel 
banks which start randomly
                                # issuing pulse-dialled calls to weird numbers
@@ -58,7 +59,11 @@
 BuildRequires: automake
 BuildRequires: bison
 %{?with_bluetooth:BuildRequires: bluez-devel}
+%if %{with zaptel}
+BuildRequires: zaptel-devel >= 1.2.10
+%else
 BuildRequires: dahdi-linux-devel
+%endif
 BuildRequires: freetds >= 0.63
 BuildRequires: gawk
 BuildRequires: gcc >= 5:3.4
@@ -189,8 +194,13 @@
 CPPFLAGS="-I/usr/include/openh323"; export CPPFLAGS
 %endif
 %configure \
+%if %{with zaptel}
+       --with-zaptel=%{_prefix} \
+       --without-dahdi \
+%else
        --with-dahdi=%{_prefix} \
        --without-zaptel \
+%endif
        --without-osptk \
        %{!?with_h323:--without-h323} \
        %{?with_bristuff:--with-gsmat=%{_prefix}} \
@@ -335,6 +345,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.126.2.17  2011/06/07 16:35:17  arekm
+- zaptel support back in form of bcond (there are non-DAHDI drivers out there)
+
 Revision 1.126.2.16  2011/05/30 09:29:10  arekm
 - up to 1.4.41
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/asterisk/asterisk.spec?r1=1.126.2.16&r2=1.126.2.17&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to