fix imlib2 staging
authorFelix Fietkau <nbd@openwrt.org>
Sun, 23 Dec 2007 01:27:37 +0000 (01:27 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 23 Dec 2007 01:27:37 +0000 (01:27 +0000)
SVN-Revision: 9862

XOrg/lib/imlib2/Makefile

index d5fa1e6..677a6da 100644 (file)
@@ -50,9 +50,11 @@ define Build/InstallDev
        $(INSTALL_DIR) $(1)/
        $(CP) $(PKG_INSTALL_DIR)/* $(1)/
        $(SED)  "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/libImlib2.la
-       $(SED)  "s,prefix.*,prefix=$(STAGING_DIR)/usr,g" $(1)/usr/bin/imlib2-config 
-       $(SED)  "s,exec_prefix.*,exec_prefix=$(STAGING_DIR)/usr,g" $(1)/usr/bin/imlib2-config
        $(CP) $(PKG_BUILD_DIR)/src/modules/loaders/.libs/*.so $(1)/usr/lib/imlib2/loaders/
+       $(INSTALL_DIR) $(2)/bin
+       mv $(1)/usr/bin/imlib2-config $(2)/bin/
+       $(SED)  "s,prefix.*,prefix=$(STAGING_DIR)/usr,g" $(2)/bin/imlib2-config 
+       $(SED)  "s,exec_prefix.*,exec_prefix=$(STAGING_DIR)/usr,g" $(2)/bin/imlib2-config
 endef
 
 define Package/imlib2/install