Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
asterisk-addons
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 9
[-]
[+]
Changed
asterisk-addons.spec
@@ -56,37 +56,38 @@ %install mkdir -p %{buildroot}/%{_libdir}/asterisk/modules/ make install DESTDIR=%{buildroot} libdir=%{_libdir} +make samples DESTDIR=%{buildroot} libdir=%{_libdir} # build ooh323c -cd asterisk-ooh323c +#cd asterisk-ooh323c -%ifarch %{ix86} -%configure --prefix=/usr --libdir=/usr/lib -%endif - -%ifarch x86_64 ppc64 -%configure --prefix=/usr --libdir=/usr/lib64 -%endif +#%ifarch %{ix86} +#%configure --prefix=/usr --libdir=/usr/lib +#%endif +# +#%ifarch x86_64 ppc64 +#%configure --prefix=/usr --libdir=/usr/lib64 +#%endif # add -DAST_JB to the 00h323 Makefile so it picks up the ast_frame and # ast_channel changes from the JB patch -perl -pi -e's,^OOH323CFLAGS \= \-DGNU \-D\_GNU\_SOURCE \-D\_REENTRANT \-D\_COMPACT,OOH323CFLAGS \= \-DGNU \-D\_GNU\_SOURCE \-D\_REENTRANT \-D\_COMPACT \-DAST\_JB,g' Makefile -perl -pi -e's,^CFLAGS \= \-DGNU \-D\_GNU\_SOURCE \-D\_REENTRANT \-D\_COMPACT,CFLAGS \= \-DGNU \-D\_GNU\_SOURCE \-D\_REENTRANT \-D\_COMPACT \-DAST\_JB,g' Makefile - -make +#perl -pi -e's,^OOH323CFLAGS \= \-DGNU \-D\_GNU\_SOURCE \-D\_REENTRANT \-D\_COMPACT,OOH323CFLAGS \= \-DGNU \-D\_GNU\_SOURCE \-D\_REENTRANT \-D\_COMPACT \-DAST\_JB,g' Makefile +#perl -pi -e's,^CFLAGS \= \-DGNU \-D\_GNU\_SOURCE \-D\_REENTRANT \-D\_COMPACT,CFLAGS \= \-DGNU \-D\_GNU\_SOURCE \-D\_REENTRANT \-D\_COMPACT \-DAST\_JB,g' Makefile +# +#make # manually install the ooh323c files -mkdir -p %{buildroot}/%{_libdir}/asterisk/modules/ -mkdir -p %{buildroot}/etc/asterisk-%{astver}_samples -cp .libs/libchan_h323.so.1.0.1 %{buildroot}/%{_libdir}/asterisk/modules/chan_h323.so -cp h323.conf.sample %{buildroot}/etc/asterisk-%{astver}_samples/ooh323.conf -mv h323.conf.sample ooh323.conf.sample -mv README ooh323c-README.txt -cd .. - -# make sure cdr_mysql.conf is available too -cp configs/cdr_mysql.conf.sample %{buildroot}/etc/asterisk-%{astver}_samples/cdr_mysql.conf -cp configs/res_mysql.conf.sample %{buildroot}/etc/asterisk-%{astver}_samples/res_mysql.conf +#mkdir -p %{buildroot}/%{_libdir}/asterisk/modules/ +#mkdir -p %{buildroot}/etc/asterisk-%{astver}_samples +#cp .libs/libchan_h323.so.1.0.1 %{buildroot}/%{_libdir}/asterisk/modules/chan_h323.so +#cp h323.conf.sample %{buildroot}/etc/asterisk-%{astver}_samples/ooh323.conf +#mv h323.conf.sample ooh323.conf.sample +#mv README ooh323c-README.txt +#cd .. +# +## make sure cdr_mysql.conf is available too +#cp configs/cdr_mysql.conf.sample %{buildroot}/etc/asterisk-%{astver}_samples/cdr_mysql.conf +#cp configs/res_mysql.conf.sample %{buildroot}/etc/asterisk-%{astver}_samples/res_mysql.conf %clean