[vlmc-devel] contribs: Add sqlite
Hugo Beauzée-Luyssen
git at videolan.org
Tue Aug 2 01:00:24 CEST 2016
vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Jul 20 13:40:25 2016 +0200| [b42f9ff2c282ea1a6cbd2934b8c54be775a61bdd] | committer: Hugo Beauzée-Luyssen
contribs: Add sqlite
> https://code.videolan.org/videolan/vlmc/commit/b42f9ff2c282ea1a6cbd2934b8c54be775a61bdd
---
contribs/src/sqlite/SHA512SUMS | 1 +
contribs/src/sqlite/rules.mak | 24 ++++++++++++++++++++++++
2 files changed, 25 insertions(+)
diff --git a/contribs/src/sqlite/SHA512SUMS b/contribs/src/sqlite/SHA512SUMS
new file mode 100644
index 0000000..668a54a
--- /dev/null
+++ b/contribs/src/sqlite/SHA512SUMS
@@ -0,0 +1 @@
+c2547ff9a144c46829344058b4f8dcc5b8c9c823cbc667be2944dc7beecb9cc213858cc9ce302a763200278397d9a0fc6bb35c542028a124ef0980fedd574c2f sqlite-autoconf-3130000.tar.gz
diff --git a/contribs/src/sqlite/rules.mak b/contribs/src/sqlite/rules.mak
new file mode 100644
index 0000000..dc99cdf
--- /dev/null
+++ b/contribs/src/sqlite/rules.mak
@@ -0,0 +1,24 @@
+# sqlite
+
+SQLITE_VERSION := 3130000
+SQLITE_URL := https://www.sqlite.org/2016/sqlite-autoconf-$(SQLITE_VERSION).tar.gz
+
+PKGS += sqlite
+
+ifeq ($(call need_pkg,"sqlite3"),)
+PKGS_FOUND += sqlite
+endif
+
+$(TARBALLS)/sqlite-autoconf-$(SQLITE_VERSION).tar.gz:
+ $(call download_pkg,$(SQLITE_URL),sqlite)
+
+.sum-sqlite: sqlite-autoconf-$(SQLITE_VERSION).tar.gz
+
+sqlite: sqlite-autoconf-$(SQLITE_VERSION).tar.gz .sum-sqlite
+ $(UNPACK)
+ $(MOVE)
+
+.sqlite: sqlite
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+ cd $< && $(MAKE) && $(MAKE) install
+ touch $@
More information about the Vlmc-devel
mailing list