[packages] python-gnome-desktop2: fix InstallDev & install
authorNicolas Thill <nico@openwrt.org>
Thu, 24 Dec 2009 06:47:26 +0000 (06:47 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 24 Dec 2009 06:47:26 +0000 (06:47 +0000)
SVN-Revision: 18918

lang/python-gnome-desktop2/Makefile

index 972c51e801ece3504738292a923186b874b37525..32b6bd557a08f95f8fdbcf881f78f0e253ef7866 100644 (file)
@@ -58,27 +58,22 @@ MAKE_INSTALL_FLAGS += \
        PYGTK_DEFSDIR="$(PKG_INSTALL_DIR)/usr/share/pygtk/2.0/defs"
 
 define Build/InstallDev
-       $(INSTALL_DIR) $(1)/usr/share/pygtk/2.0/defs
-       $(INSTALL_DATA) \
-               $(PKG_INSTALL_DIR)/usr/share/pygtk/2.0/defs/* \
-               $(1)/usr/share/pygtk/2.0/defs
-
        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
-       $(INSTALL_DATA) \
-               $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
-               $(1)/usr/lib/pkgconfig
+       $(CP) \
+               $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
+               $(1)/usr/lib/pkgconfig/
 
        $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/gtk-2.0
-       $(INSTALL_DATA) \
-               $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/gtk-2.0/*.{so,la} \
-               $(1)$(PYTHON_PKG_DIR)/gtk-2.0
+       $(CP) \
+               $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/gtk-2.0/*.{a,la,so} \
+               $(1)$(PYTHON_PKG_DIR)/gtk-2.0/
 endef
 
 define Package/python-gnome-desktop/install/Default
        $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/gtk-2.0
-       $(INSTALL_DATA) \
-               $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/gtk-2.0/$(2).{so,a} \
-               $(1)$(PYTHON_PKG_DIR)/gtk-2.0
+       $(CP) \
+               $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/gtk-2.0/$(2).so \
+               $(1)$(PYTHON_PKG_DIR)/gtk-2.0/
 endef
 
 define Package/python-rsvg/install