[Asterisk-cvs] asterisk-addons/res_sqlite3 Makefile, 1.2,
1.3 res_sqlite.new.c, 1.1, NONE
anthm at lists.digium.com
anthm at lists.digium.com
Thu Apr 21 18:52:13 CDT 2005
Update of /usr/cvsroot/asterisk-addons/res_sqlite3
In directory mongoose.digium.com:/tmp/cvs-serv12042
Modified Files:
Makefile
Removed Files:
res_sqlite.new.c
Log Message:
remove bundled sqlite
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk-addons/res_sqlite3/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile 31 Jan 2005 22:04:31 -0000 1.2
+++ Makefile 21 Apr 2005 23:42:48 -0000 1.3
@@ -4,8 +4,8 @@
ASTSQLITE=/var/lib/asterisk/sqlite
SQLITE2=/usr/local/bin/sqlite
SQLITE3=/usr/local/bin/sqlite3
-
-CC=gcc
+SQLITEBASE=http://www.sqlite.org/
+SQLITEFILE=sqlite-3.2.1
CFLAGS=-I sqlite -I sqlite/src
@@ -16,17 +16,18 @@
ASTSRC=$(ASTDIR) $(ASTXS) "-append=CFLAGS:$(CFLAGS)" "-append=EXTOBJ:./sqlite/.libs/libsqlite3.a" res_sqlite.c
.sqlite:
+ wget $(SQLITEBASE)/$(SQLITEFILE).tar.gz
+ tar -zxvf $(SQLITEFILE).tar.gz
+ ln -s $(SQLITEFILE) sqlite
cd sqlite && test -f ./config.status || ./configure --enable-threadsafe
cd sqlite && make
touch .sqlite
-
clean:
/bin/rm -f *.o *.so *~
distclean: clean
- cd sqlite && make clean && /bin/rm -f ./config.status && /bin/rm -f ./config.log
- /bin/rm -f .sqlite
+ /bin/rm -fr .sqlite sqlite $(SQLITEFILE) $(SQLITEFILE).tar.gz
install:
$(ASTXS) -autoload -install res_sqlite.so
--- res_sqlite.new.c DELETED ---
More information about the svn-commits
mailing list