Retain symlinks. $(INSTALL_*) copys the contens of a file, so if we want to keep
[openwrt/svn-archive/archive.git] / Xorg / lib / mesa / Makefile
index 1af7d45..a847202 100644 (file)
@@ -9,7 +9,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=Mesa
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_VERSION:=7.2
 
 PKG_SOURCE_URL:=@SF/mesa3d
@@ -74,7 +74,7 @@ define Build/InstallDev
                $(PKG_INSTALL_DIR)/usr/include/GL/* \
                $(1)/usr/include/GL
 
-       $(INSTALL_DATA) \
+       $(CP) \
                $(PKG_INSTALL_DIR)/usr/lib/*.so* \
                $(1)/usr/lib
 
@@ -85,14 +85,14 @@ endef
 
 define Package/libgl-mesa/install
        $(INSTALL_DIR) $(1)/usr/lib
-       $(INSTALL_DATA) \
+       $(CP) \
                $(PKG_INSTALL_DIR)/usr/lib/libGL.so* \
                $(1)/usr/lib/
 endef
 
 define Package/libglu-mesa/install
        $(INSTALL_DIR) $(1)/usr/lib
-       $(INSTALL_DATA) \
+       $(CP) \
                $(PKG_INSTALL_DIR)/usr/lib/libGLU.so* \
                $(1)/usr/lib/
 endef
@@ -100,7 +100,7 @@ endef
 define Package/libgl-mesa-dri/install/Default
 define Package/libgl-mesa-dri-$(1)/install
        $(INSTALL_DIR) $$(1)/usr/lib/dri/
-       $(INSTALL_DATA) \
+       $(CP) \
                $(PKG_INSTALL_DIR)/usr/lib/dri/$(1)_dri.so* \
                $$(1)/usr/lib/dri
 endef