[vlc-commits] contrib: add sqlite

Rafaël Carré git at videolan.org
Mon Nov 7 05:54:15 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Nov  6 23:15:38 2011 -0500| [613a5a0063642b30bcecec4a59d6593f575bc718] | committer: Rafaël Carré

contrib: add sqlite

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=613a5a0063642b30bcecec4a59d6593f575bc718
---

 contrib/src/sqlite/SHA512SUMS |    1 +
 contrib/src/sqlite/rules.mak  |   24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/contrib/src/sqlite/SHA512SUMS b/contrib/src/sqlite/SHA512SUMS
new file mode 100644
index 0000000..8c27340
--- /dev/null
+++ b/contrib/src/sqlite/SHA512SUMS
@@ -0,0 +1 @@
+fd6761a6c8f76d137cc8c98b8ae77f8f4206dbf187d66e324f7dc6a79eb752d441446139216eadb534cf5601345c2ea1da3312305e24c762b6e16318cf4adb5e  sqlite-3.6.20.tar.gz
diff --git a/contrib/src/sqlite/rules.mak b/contrib/src/sqlite/rules.mak
new file mode 100644
index 0000000..db3131a
--- /dev/null
+++ b/contrib/src/sqlite/rules.mak
@@ -0,0 +1,24 @@
+# sqlite
+
+SQLITE_VERSION := 3.6.20
+SQLITE_URL := http://www.sqlite.org/sqlite-amalgamation-$(SQLITE_VERSION).tar.gz
+
+PKGS += sqlite
+
+ifeq ($(call need_pkg,"sqlite3"),)
+PKGS_FOUND += sqlite
+endif
+
+$(TARBALLS)/sqlite-$(SQLITE_VERSION).tar.gz:
+	$(call download,$(SQLITE_URL))
+
+.sum-sqlite: sqlite-$(SQLITE_VERSION).tar.gz
+
+sqlite: sqlite-$(SQLITE_VERSION).tar.gz .sum-sqlite
+	$(UNPACK)
+	$(MOVE)
+
+.sqlite: sqlite
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+	cd $< && make && make install
+	touch $@



More information about the vlc-commits mailing list