X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=lang%2Fpython%2FMakefile;h=e05c97c2dfec6790607de83f89e5f9fa05c96f57;hp=6e35212ddd21bf8147f46166096d5ac6b96467a5;hb=8482e848996616e682db368bbcc9c4ebce912c5f;hpb=435f57be9ce69acc1c051b6099f6278d293bf653 diff --git a/lang/python/Makefile b/lang/python/Makefile index 6e35212ddd..e05c97c2df 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -79,6 +79,8 @@ define Build/Compile endef define Build/InstallDev + mkdir -p $(STAGING_DIR)/usr/bin + $(CP) $(PKG_BUILD_DIR)/hostpython $(STAGING_DIR)/usr/bin/ mkdir -p $(STAGING_DIR)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/python2.4 $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/lib @@ -91,10 +93,10 @@ define Build/UninstallDev endef define Package/python/install - install -d -m0755 $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/bin $(CP) $(PKG_INSTALL_DIR)/usr/bin/python2.4 $(1)/usr/bin/ ln -sf python2.4 $(1)/usr/bin/python - install -d -m0755 $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/python2.4 $(1)/usr/lib/ rm -rf \ $(1)/usr/lib/python2.4/bsddb/test \