summaryrefslogtreecommitdiff
path: root/lang/python/python3/files/python3-package-dbm.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python3/files/python3-package-dbm.mk')
-rw-r--r--lang/python/python3/files/python3-package-dbm.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/python/python3/files/python3-package-dbm.mk b/lang/python/python3/files/python3-package-dbm.mk
new file mode 100644
index 000000000..409940229
--- /dev/null
+++ b/lang/python/python3/files/python3-package-dbm.mk
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2006-2016 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Package/python3-dbm
+$(call Package/python3/Default)
+ TITLE:=Python $(PYTHON3_VERSION) dbm module
+ DEPENDS:=+python3-light +libdb47
+endef
+
+$(eval $(call Py3BasePackage,python3-dbm, \
+ /usr/lib/python$(PYTHON3_VERSION)/dbm \
+ /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_dbm.$(PYTHON3_SO_SUFFIX) \
+))