SPECS: asterisk.spec - add imap support

aredridel aredridel at pld-linux.org
Sat Nov 17 02:59:47 CET 2007


Author: aredridel                    Date: Sat Nov 17 01:59:47 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add imap support

---- Files affected:
SPECS:
   asterisk.spec (1.100 -> 1.101) 

---- Diffs:

================================================================
Index: SPECS/asterisk.spec
diff -u SPECS/asterisk.spec:1.100 SPECS/asterisk.spec:1.101
--- SPECS/asterisk.spec:1.100	Fri Nov  9 11:48:51 2007
+++ SPECS/asterisk.spec	Sat Nov 17 02:59:42 2007
@@ -53,6 +53,7 @@
 BuildRequires:	gawk
 BuildRequires:	gcc >= 5:3.4
 BuildRequires:	iksemel-devel
+BuildRequires:	imap-static
 BuildRequires:	libpri-devel >= 1.2.4
 BuildRequires:	mysql-devel
 BuildRequires:	ncurses-devel
@@ -152,6 +153,11 @@
 
 sed -i -e "s#/usr/lib/#/usr/%{_lib}/#g#" Makefile
 
+mkdir -p imap/c-client
+ln -s %{_libdir}/libc-client.a imap/c-client/c-client.a
+ln -s %{_includedir}/imap/* imap/c-client/
+echo '-lssl -lpam' > imap/c-client/LDFLAGS
+
 %build
 rm -f pbx/.depend
 
@@ -159,7 +165,8 @@
 %{__autoconf}
 
 CPPFLAGS="-I/usr/include/openh323"; export CPPFLAGS
-%configure
+%configure \
+	--with-imap="`pwd`"/imap
 
 cp -f .cleancount .lastclean
 
@@ -288,6 +295,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.101  2007-11-17 01:59:42  aredridel
+- add imap support
+
 Revision 1.100  2007-11-09 10:48:51  arekm
 - add logrotate
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/asterisk.spec?r1=1.100&r2=1.101&f=u



More information about the pld-cvs-commit mailing list