diff options
| author | Hannu Nyman <hannu.nyman@iki.fi> | 2015-12-11 16:32:20 +0200 |
|---|---|---|
| committer | Hannu Nyman <hannu.nyman@iki.fi> | 2015-12-11 16:32:20 +0200 |
| commit | 995bdfdcfaa81d8f5ab2ca34c98b4bb341c9cb9c (patch) | |
| tree | 05d836115bdfd9d3d7ac4f71b34cf9976dfa4412 /lang/python/files/python-package-dev.mk | |
| parent | f0be8b0ea22cebe6542d57a0525fcc844ccbce4a (diff) | |
| parent | a8602a7ccbde983412b5f0f27961ff2ab9155194 (diff) | |
Merge pull request #2107 from commodo/python-2-7-11-upgrade
python: upgrade to version 2.7.11
Diffstat (limited to 'lang/python/files/python-package-dev.mk')
| -rw-r--r-- | lang/python/files/python-package-dev.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lang/python/files/python-package-dev.mk b/lang/python/files/python-package-dev.mk new file mode 100644 index 000000000..2f807b283 --- /dev/null +++ b/lang/python/files/python-package-dev.mk @@ -0,0 +1,27 @@ +# +# 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/python-dev +$(call Package/python/Default) + TITLE:=Python $(PYTHON_VERSION) development files + DEPENDS:=+python +endef + +define PyPackage/python-dev/install + $(INSTALL_DIR) $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/python*config $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* $(1)/usr/lib +endef + +$(eval $(call PyBasePackage,python-dev, \ + /usr/lib/python$(PYTHON_VERSION)/config \ + /usr/include/python$(PYTHON_VERSION) \ + /usr/lib/pkgconfig \ + , \ + DO_NOT_ADD_TO_PACKAGE_DEPENDS \ +)) + |
