endef
define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include $(STAGING_DIR_HOST)/bin
+ $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include $(2)/bin
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*{la,so}* $(1)/usr/lib
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(STAGING_DIR_HOST)/bin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(2)/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" $(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
+ $(SED) "s,-I/usr/include,,g" $(2)/bin/libast-config
+ $(SED) "s,-L/usr/lib,,g" $(2)/bin/libast-config
+ $(SED) "s,-L/usr/X11R6/lib,,g" $(2)/bin/libast-config
endef
define Package/libast/install