summaryrefslogtreecommitdiff
path: root/lang/python/files/python-package-sqlite3.mk
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-03-06 15:29:22 +0100
committerSteven Barth <steven@midlink.org>2015-03-06 15:29:22 +0100
commit05dbcba3d7e31dc606d484fd454404ae7d81595a (patch)
tree464cc48214a90b11b549d2130e71515beb5b7cbf /lang/python/files/python-package-sqlite3.mk
parent86c614e69df3da1bcb5a45b77f3af79445093b48 (diff)
parent0d072f2b42bf1191c42f3e44a4ae77883728ae66 (diff)
Merge pull request #988 from commodo/python-modularization
python: packetize some python modules
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 \
+))