diff options
| author | Hannu Nyman <hannu.nyman@iki.fi> | 2015-12-07 13:46:08 +0200 |
|---|---|---|
| committer | Hannu Nyman <hannu.nyman@iki.fi> | 2015-12-07 13:46:08 +0200 |
| commit | 0fee8f5cb7ecdd6dc04cd6e3ac99e975fe156111 (patch) | |
| tree | 62339e27afe82fd9e3df27a23cada3e1671e8298 /lang/python3/files/python3-package-dev.mk | |
| parent | 98215f762ec724fe7ea652e653374340dbf19bb6 (diff) | |
| parent | da4d2e49dbbed514ed9a725f0fcf567dad9b8d74 (diff) | |
Merge pull request #1982 from FlorianFieber/python3
Python3: Add python3-pip, python3-setuptools and their dependencies
Diffstat (limited to 'lang/python3/files/python3-package-dev.mk')
| -rw-r--r-- | lang/python3/files/python3-package-dev.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lang/python3/files/python3-package-dev.mk b/lang/python3/files/python3-package-dev.mk new file mode 100644 index 000000000..37ee05fda --- /dev/null +++ b/lang/python3/files/python3-package-dev.mk @@ -0,0 +1,25 @@ +# +# 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-dev +$(call Package/python3/Default) + TITLE:=Python $(PYTHON3_VERSION) development files + DEPENDS:=+python3 +endef + +define Py3Package/python3-dev/install + $(INSTALL_DIR) $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/python$(PYTHON3_VERSION)-config $(1)/usr/bin + $(LN) python$(PYTHON3_VERSION)-config $(1)/usr/bin/python3-config + $(LN) python$(PYTHON_VERSION)/config-$(PYTHON_VERSION)/libpython$(PYTHON3_VERSION).a $(1)/usr/lib/libpython$(PYTHON3_VERSION).a +endef + +$(eval $(call Py3BasePackage,python3-dev, \ + /usr/lib/python$(PYTHON_VERSION)/config-$(PYTHON_VERSION) \ + /usr/include/python$(PYTHON_VERSION) \ + /usr/lib/pkgconfig \ +)) |
