endef
define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr/{lib,include,bin}
+ $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include $(STAGING_DIR_HOST)/bin
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*{la,so}* $(1)/usr/lib
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(STAGING_DIR_HOST)/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
$(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/libast*.la
- $(SED) "s,-I/usr/include,,g" $(1)/usr/bin/libast-config
- $(SED) "s,-L/usr/lib,,g" $(1)/usr/bin/libast-config
- $(SED) "s,-L/usr/X11R6/lib,,g" $(1)/usr/bin/libast-config
+ $(SED) "s,-I/usr/include,,g" $(STAGING_DIR_HOST)/bin/libast-config
+ $(SED) "s,-L/usr/lib,,g" $(STAGING_DIR_HOST)/bin/libast-config
+ $(SED) "s,-L/usr/X11R6/lib,,g" $(STAGING_DIR_HOST)/bin/libast-config
endef
define Package/libast/install