fix gtk-1.2.10 staging
authorFelix Fietkau <nbd@openwrt.org>
Sun, 23 Dec 2007 01:27:33 +0000 (01:27 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 23 Dec 2007 01:27:33 +0000 (01:27 +0000)
SVN-Revision: 9861

XOrg/lib/gtk-1.2.10/Makefile

index b84932160476099c569cde0ebd228c185306ceca..4792f6845833f980574a3c4b30acf6ed762d34ed 100644 (file)
@@ -57,7 +57,9 @@ endef
 
 define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/* $(1)/
-       $(SED) "s,libdirs=-L.*,libdirs=,g" $(1)/usr/bin/gtk-config
+       $(INSTALL_DIR) $(2)/bin
+       mv $(1)/usr/bin/gtk-config $(2)/bin/
+       $(SED) "s,libdirs=-L.*,libdirs=,g" $(2)/bin/gtk-config
        $(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/lib{gtk,gdk}.la
 endef