[packages] lang: use $(CP) & $(INSTALL_DIR)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18814 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2009-12-18 11:00:21 +00:00
parent e7b0964e2a
commit a20172ac8e
3 changed files with 8 additions and 8 deletions

View File

@ -46,13 +46,13 @@ define Build/Compile
endef
define Build/InstallDev
mkdir -p $(1)
cp -r $(PKG_INSTALL_DIR)/* $(1)
$(INSTALL_DIR) $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef
define Package/ipython/install
mkdir -p $(1)
cp -r $(PKG_INSTALL_DIR)/* $(1)
$(INSTALL_DIR) $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef
$(eval $(call BuildPackage,ipython))

View File

@ -37,8 +37,8 @@ define Build/Compile
endef
define Package/logilab-common/install
mkdir -p $(1)
cp -r $(PKG_INSTALL_DIR)/* $(1)/
$(INSTALL_DIR) $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef
$(eval $(call BuildPackage,logilab-common))

View File

@ -35,8 +35,8 @@ define Build/Compile
endef
define Package/numpy/install
mkdir -p $(1)
cp -r $(PKG_INSTALL_DIR)/* $(1)
$(INSTALL_DIR) $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef
define Require/python25-dev