summaryrefslogtreecommitdiff
path: root/lang/python3/files/python3-package-openssl.mk
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2015-03-12 20:01:20 +0200
committerAlexandru Ardelean <ardeleanalex@gmail.com>2015-03-14 21:24:30 +0200
commit741fdfd1e036bf758262c2ded8a31a1b4c73d8ac (patch)
tree72617b45fa481de9cae9076523ac00cb8a2f72f8 /lang/python3/files/python3-package-openssl.mk
parent70df2d9a0c6d7fd40dc0de203cb43ea9008c3169 (diff)
python3: replicate packaging work done in python package
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python3/files/python3-package-openssl.mk')
-rw-r--r--lang/python3/files/python3-package-openssl.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/python3/files/python3-package-openssl.mk b/lang/python3/files/python3-package-openssl.mk
new file mode 100644
index 000000000..255d58099
--- /dev/null
+++ b/lang/python3/files/python3-package-openssl.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-openssl
+$(call Package/python3/Default)
+ TITLE:=Python $(PYTHON3_VERSION) SSL module
+ DEPENDS:=+python3-light +libopenssl
+endef
+
+$(eval $(call Py3BasePackage,python3-openssl, \
+ /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_hashlib.$(PYTHON3_SO_SUFFIX) \
+ /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_ssl.$(PYTHON3_SO_SUFFIX) \
+))