From 741fdfd1e036bf758262c2ded8a31a1b4c73d8ac Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Thu, 12 Mar 2015 20:01:20 +0200 Subject: python3: replicate packaging work done in python package Signed-off-by: Alexandru Ardelean --- lang/python3/files/python3-package-sqlite3.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lang/python3/files/python3-package-sqlite3.mk (limited to 'lang/python3/files/python3-package-sqlite3.mk') diff --git a/lang/python3/files/python3-package-sqlite3.mk b/lang/python3/files/python3-package-sqlite3.mk new file mode 100644 index 000000000..4b097a36b --- /dev/null +++ b/lang/python3/files/python3-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/python3-sqlite3 +$(call Package/python3/Default) + TITLE:=Python $(PYTHON3_VERSION) sqlite3 module + DEPENDS:=+python3-light +libsqlite3 +endef + +$(eval $(call Py3BasePackage,python3-sqlite3, \ + /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_sqlite3.$(PYTHON3_SO_SUFFIX) \ + /usr/lib/python$(PYTHON3_VERSION)/sqlite3 \ +)) -- cgit