install libast-config to STAGING_DIR_HOST
authorFelix Fietkau <nbd@openwrt.org>
Sat, 22 Dec 2007 17:58:22 +0000 (17:58 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 22 Dec 2007 17:58:22 +0000 (17:58 +0000)
SVN-Revision: 9838

XOrg/lib/libast/Makefile

index ce0046889ed76324bf33e3785efa96555e6339f4..f6bd8ca084847a62939ad7262e7ae771eef2615f 100644 (file)
@@ -48,14 +48,14 @@ define Build/Compile
 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