summaryrefslogtreecommitdiff
path: root/lang/python/files/python-package-sqlite3.mk
diff options
context:
space:
mode:
authoraTanW <villy@sft.ru>2015-06-28 17:58:00 +0300
committeraTanW <villy@sft.ru>2015-06-28 17:58:00 +0300
commitf60ca0b30f92dea792e776db08d7f109c172be58 (patch)
tree5e200b2eb9bbd074e79d68014339dc823ac2db56 /lang/python/files/python-package-sqlite3.mk
parent2564e407d26d45ecc68befa7a3d1786dbb5982b5 (diff)
parent9d423ba553041b5d45918b6ebd8677e43990cb88 (diff)
Merge https://github.com/openwrt/packages
Conflicts: net/ipsec-tools/Makefile
Diffstat (limited to 'lang/python/files/python-package-sqlite3.mk')
-rw-r--r--lang/python/files/python-package-sqlite3.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/python/files/python-package-sqlite3.mk b/lang/python/files/python-package-sqlite3.mk
new file mode 100644
index 000000000..c5abb122e
--- /dev/null
+++ b/lang/python/files/python-package-sqlite3.mk
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2006-2015 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Package/python-sqlite3
+$(call Package/python/Default)
+ TITLE:=Python $(PYTHON_VERSION) sqlite3 module
+ DEPENDS:=+python-light +libsqlite3
+endef
+
+$(eval $(call PyBasePackage,python-sqlite3, \
+ /usr/lib/python$(PYTHON_VERSION)/lib-dynload/_sqlite3.so \
+ /usr/lib/python$(PYTHON_VERSION)/sqlite3 \
+))