diff options
| author | Alexandru Ardelean <alex@shruggie.ro> | 2023-08-31 07:59:57 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-31 07:59:57 +0300 |
| commit | 11ae2c30613949563480b8b59a934999c2428d80 (patch) | |
| tree | 9e85126369c95982c18c2a6ec6976bc9c025b73e /lang/python/python3/files/python3-package-dev.mk | |
| parent | 6cf39ba626e35474b5b3c59754610f20c240d202 (diff) | |
| parent | 0fe10114208e2c5cd572df043945a52e3ebeb6dd (diff) | |
Merge pull request #21552 from jefferyto/python-platform-triplet
python3: Restore platform triplet to paths
Diffstat (limited to 'lang/python/python3/files/python3-package-dev.mk')
| -rw-r--r-- | lang/python/python3/files/python3-package-dev.mk | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lang/python/python3/files/python3-package-dev.mk b/lang/python/python3/files/python3-package-dev.mk index e43ba5234..871fff9ee 100644 --- a/lang/python/python3/files/python3-package-dev.mk +++ b/lang/python/python3/files/python3-package-dev.mk @@ -7,23 +7,27 @@ define Package/python3-dev $(call Package/python3/Default) - TITLE:=Python $(PYTHON3_VERSION) development files + TITLE+= development files DEPENDS:=+python3 +python3-lib2to3 endef +define Package/python3-dev/description +$(call Package/python3/Default/description) + +This package contains files for building Python modules, extending the +Python interpreter, or embedded Python in applications. +endef + define Py3Package/python3-dev/install $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib $(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$(PYTHON3_VERSION)-config $(1)/usr/bin/python-config $(LN) python$(PYTHON3_VERSION)/config-$(PYTHON3_VERSION)/libpython$(PYTHON3_VERSION).a $(1)/usr/lib/ - # This depends on being called before filespec is processed - $(SED) 's|$(TARGET_AR)|ar|g;s|$(TARGET_CROSS)readelf|readelf|g;s|$(TARGET_CC)|gcc|g;s|$(TARGET_CXX)|g++|g' \ - $(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON3_VERSION)/config-$(PYTHON3_VERSION)/Makefile endef $(eval $(call Py3BasePackage,python3-dev, \ - /usr/lib/python$(PYTHON3_VERSION)/config-$(PYTHON3_VERSION) \ + /usr/lib/python$(PYTHON3_VERSION)/config-$(PYTHON3_VERSION)-* \ /usr/include/python$(PYTHON3_VERSION) \ /usr/lib/pkgconfig \ , \ |
