summaryrefslogtreecommitdiff
path: root/lang/python3/files/python3-package-codecs.mk
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2015-03-23 21:00:57 +0100
committerMirko Vogt <mirko@openwrt.org>2015-03-23 21:00:57 +0100
commit4dbeaacf20ceac4537b428cbfc0b826f9abec63c (patch)
treea008aa81eb80429c27eb6f9d95e30a62a6e5c15b /lang/python3/files/python3-package-codecs.mk
parentd6b77026402383b4c3bae32b41fc90cb4cf4d51b (diff)
parentd6b0c625ab0d8f9f2dccb0930b634ce09e621cf6 (diff)
Merge branch 'master' of https://github.com/openwrt/packages
Diffstat (limited to 'lang/python3/files/python3-package-codecs.mk')
-rw-r--r--lang/python3/files/python3-package-codecs.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/python3/files/python3-package-codecs.mk b/lang/python3/files/python3-package-codecs.mk
new file mode 100644
index 000000000..66101e1fb
--- /dev/null
+++ b/lang/python3/files/python3-package-codecs.mk
@@ -0,0 +1,22 @@
+#
+# 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-codecs
+$(call Package/python3/Default)
+ TITLE:=Python $(PYTHON3_VERSION) codecs + unicode support
+ DEPENDS:=+python3-light
+endef
+
+$(eval $(call Py3BasePackage,python3-codecs, \
+ /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_codecs_cn.$(PYTHON3_SO_SUFFIX) \
+ /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_codecs_hk.$(PYTHON3_SO_SUFFIX) \
+ /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_codecs_iso2022.$(PYTHON3_SO_SUFFIX) \
+ /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_codecs_jp.$(PYTHON3_SO_SUFFIX) \
+ /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_codecs_kr.$(PYTHON3_SO_SUFFIX) \
+ /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_codecs_tw.$(PYTHON3_SO_SUFFIX) \
+ /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/unicodedata.$(PYTHON3_SO_SUFFIX) \
+))